Re: Time Conversion wrt TimeZone



You'll want to use UTC time as your base, then you can convert between time zones much more easily.

Here's more info:
http://devdistrict.com/CodeDetails.aspx?A=52
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemdatetimeclassutcnowtopic.asp
http://www.aspnetpro.com/features/2007/01/asp200701ad_f/asp200701ad_f.asp

--
I hope this helps,
Steve C. Orr,
MCSD, MVP, CSM, ASPInsider
http://SteveOrr.net


"mmv" <madhuvamshi@xxxxxxxxx> wrote in message news:1166454764.846425.209910@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hello,

Given Datetime value in a string, I wish to write a code where in I
could convert the datetime to a value in particular timezone. For
example, If the given datetime is 10:00 am in CST, i wish to convert it
to Eastern(11:00 am) or anyother timezone depending on the user's
system timezone.

Any help would greatly be appreciated.

Thanks
-Madhu


.



Relevant Pages