mohammad qasim

mohammad qasim

  • NA
  • 408
  • 0

Show Datetime according to user Country

Jan 10 2012 6:12 AM
i have data in local time (according to Pakistan standard time )
 
Like
--------- 
 
sno name Date_Time
 
1 abc 10-Jan-2012 4:29
2 abc 10-Jan-2012 6:29
 
---------
 
i have to show data of "Date_Time" according to user standard time 
suppose if any user login to India
 
it should show " Date_Time " according to their standard 
as Data Store In Database on " 10-Jan-2012 4:29 "
but there are half hour difference between Pakistan and 
India
 
so it should be showed 
" 10-Jan-2010 4:59 " for Indian User Instead of this " 10-Jan-2010 4:29"
as Pakistani User Login so it should show this
 
" 10-Jan-2010 4:29 " and so on for others user 

Answers (3)