Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / .NET SDK / October 2006

Tip: Looking for answers? Try searching our database.

How do I get a TimeZone object?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
David Thielen - 26 Oct 2006 22:42 GMT
I see the class but I can't find any way to get one.

Signature

thanks - dave
david_at_windward_dot_net
http://www.windwardreports.com

Cubicle Wars - http://www.windwardreports.com/film.htm

Bryan Phillips - 27 Oct 2006 03:21 GMT
How about using System.TimeZone.CurrentTimeZone?

Bryan Phillips
MCSD, MCDBA, MCSE
Blog:  http://bphillips76.spaces.live.com

> I see the class but I can't find any way to get one.
>
[quoted text clipped - 4 lines]
>
> Cubicle Wars - http://www.windwardreports.com/film.htm
Steven Cheng[MSFT] - 27 Oct 2006 05:15 GMT
Hello Dave,

As for the TimeZone, so far til .net framework 2.0, it only provide the
information of local timezone. There are some member who has created a
custom class for exposing the OS timezone list in .net class. In your
another thread the MVP has provided the following article:

#SimpleTimezone class
http://www.michaelbrumm.com/simpletimezone.html

here is another one that encapsulate the code that read timezone info from
registry in a custom class:

#World Clock and the TimeZoneInformation class
http://www.codeproject.com/dotnet/WorldClock.asp

Hope this helps some.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead


This posting is provided "AS IS" with no warranties, and confers no rights.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.