Official time

I always hated the idea that a user can change his time client-side resulting in something other than planned.

Time.gov lists the official time, where ever.

I’d like to use http://time.gov/timezone.cgi?Eastern/d/-5/java as our example.

How would I fetch something like this (its javascript)? If this can’t be done I’m sure there is another site like this…

thanks

I think you need a server side script language to do that…
maybe PHP or ASP.

;/

Dudeman:

I’m working on a network device right now that will have a clock display function for a project among friends. One of our plans is to incorrporate atomic time to ensure accuracy of the device. Getting to Atomic time is easier if you use NTP rather than try to parse it off of time.gov.

NTP: Network Time Protocol

We haven’t got to that point of the project so I can’t guaruntee the code will be good or anything. But its something I know about at least. Anyways, I’m a hardware guy, what do I know.

:slight_smile: thats really cool cosine

Tell me how it works out for you. As we’ll have to do the same thing eventually.

Well, really the official time would be a great use for everyone… calendars, countdowns and what not…

I need to use time to display if a something is available today or not… so basicly its pretty vital heh :stuck_out_tongue: