Re: Time Conversion wrt TimeZone
- From: "Steve C. Orr [MCSD, MVP, CSM, ASP Insider]" <Steve@xxxxxxx>
- Date: Mon, 18 Dec 2006 09:03:06 -0800
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
.
- References:
- Time Conversion wrt TimeZone
- From: mmv
- Time Conversion wrt TimeZone
- Prev by Date: Re: Listbox with spaces from SQL query
- Next by Date: Re: File Uploading permission
- Previous by thread: Time Conversion wrt TimeZone
- Next by thread: Re: Proper way to cache objects?
- Index(es):
Relevant Pages
|