|
-
Sep 23rd, 2008, 11:04 PM
#1
Thread Starter
Hyperactive Member
[2005] Find US Time
Hi,
I am developing an application which will display the local time as well as the US time.
The problem is, I need to consider the daylight savings while calculating the US time. How this can be achieved?
please help.
thanks
-
Sep 23rd, 2008, 11:46 PM
#2
Re: [2005] Find US Time
With standard .NET 2.0 it can't really. They've added the TimeZoneInfo class to .NET 3.5 which will allow you to do what you want but .NET 2.0 provides no specific API.
Having said that, that TimeZoneInfo class is just a managed wrapper around the time zone information that Windows stores in (I believe) the Registry. You can use that information yourself. In fact, someone has posted their own TimeZoneInfo class in the VB.NET CodeBank forum that does it for you.
-
Sep 24th, 2008, 01:47 AM
#3
Thread Starter
Hyperactive Member
Re: [2005] Find US Time
thanks for that. I will look at it.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|