Sign In|Join
Home/Silverlight.NET Forums/Data and Service-Oriented Development/WCF RIA Services/Date are covnerted to UTC dates automatically
Last post Apr 29, 2009 09:46 AM by rid00z
Member
194 Points
76 Posts
Apr 17, 2009 01:18 PM | LINK
You can use DateTime.ToLocal if you want to convert to the local time at client side. For my case, I want to show the local time at server side, hence I use AddHour. Normally, I prefer AddHour because some user PCs have wrong regional settings.
4 Points
18 Posts
Apr 29, 2009 09:46 AM | LINK
Could be my issue, sorry.
ccchai
Member
194 Points
76 Posts
Re: Date are covnerted to UTC dates automatically
Apr 17, 2009 01:18 PM | LINK
You can use DateTime.ToLocal if you want to convert to the local time at client side. For my case, I want to show the local time at server side, hence I use AddHour. Normally, I prefer AddHour because some user PCs have wrong regional settings.
rid00z
Member
4 Points
18 Posts
Re: Date are covnerted to UTC dates automatically
Apr 29, 2009 09:46 AM | LINK
Could be my issue, sorry.
Keyboard Cowboy