devo00
asked on
World Clock
I need to display times for 6 locations around the world on a local server, including the current time where the web server sits.
I also need to adjust for DST.
Is there a straight-forward way of doing this?
I also need to adjust for DST.
Is there a straight-forward way of doing this?
Here's a link to info about 'tzdata', a public domain time info database: http://en.wikipedia.org/wiki/Tz_database I don't find a link to C# code right off but there probably is sample code somewhere. tzdata is frequently updated.
I would try to use an existing web service that provides that functionality. There is a free one with sample code here. http://www.csharphelp.com/2006/10/consuming-a-web-service-in-c/
If you only need 6 locations and not the whole world, then maybe this is project will get you started. http://www.codeproject.com/KB/selection/3ZoneWorldClock.aspx
If you only need 6 locations and not the whole world, then maybe this is project will get you started. http://www.codeproject.com/KB/selection/3ZoneWorldClock.aspx
ASKER
Even with improvements in ASP.NET 3.5, it's this involved?
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
ASKER
Found a good, succinct, working solution in my own search efforts.