I have an application that needs to have the current time, this is important. Right now I am using government time servers, tokenizing the string and updating the time object I created to reflect the time. I am running into trouble with daylight savings time and timezones. I can totally write the code to do it manually and all that but is there a reliable time server running a script that I can pass some params and get the proper time? Would save me some work. I have been to time.gov but can't find dull documentation on their timezone.cgi script.
basically I would like to hit:
time.gov/timezone.cgi?Eastern
and get the current time. Have all the daylight savings and all that stuff done server side and just get the current time, ya know?
basically I would like to hit:
time.gov/timezone.cgi?Eastern
and get the current time. Have all the daylight savings and all that stuff done server side and just get the current time, ya know?
