Link to home
Create AccountLog in
Avatar of devo00
devo00Flag for United States of America

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?
Avatar of Dave Baldwin
Dave Baldwin
Flag of United States of America image

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.
Avatar of Mez4343
Mez4343

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
Avatar of devo00

ASKER

Even with improvements in ASP.NET 3.5, it's this involved?
ASKER CERTIFIED SOLUTION
Avatar of devo00
devo00
Flag of United States of America image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
Avatar of devo00

ASKER

Found a good, succinct, working solution in my own search efforts.