0

Someone can explain to me how works the conversion of dates from azure database hosted in GMT 00:00 to client local GMT?

exists some way to convert the date automatically with C#?

have some related with CultureInfo?

astaykov
  • 30,768
  • 3
  • 70
  • 86
Lucas Konrath
  • 567
  • 2
  • 8
  • 19
  • http://stackoverflow.com/questions/179940/c-sharp-convert-utc-gmt-time-to-local-time – Sam Vanhoutte Oct 17 '13 at 13:39
  • the example of the link works in web plataform? How the C# will know the GMT of the user for convert the DateTime for the right timezone? – Lucas Konrath Oct 17 '13 at 18:36
  • normally you do that through client side javascript, no? this post details a bit more : http://stackoverflow.com/questions/338482/can-you-determine-timezone-from-request-variables – Sam Vanhoutte Oct 17 '13 at 19:13
  • when the user login into the web site, the timeZoneOffSet is saved into the database user register(in this case GMT -03:00), so i can calculate the local time of the user, but when the date is passed through a json (like this Date(1381795162417) ), the date is adjusted twice resulting in a wrong GMT -06:00, the javascript auto deserialize adjusting to the local time? – Lucas Konrath Oct 17 '13 at 19:40

0 Answers0