1. Time Synchronizing

Hi Everyone,

I'm working on creating a program for which I need to know the current time in a
timezone which is different from the one I am in. Specifically, I need to know
the current time in the UK.

Unfortunately, I don't understand how the whole NTP thing works. Do NTP servers
all synchronize to GMT (and you have to adjust the time for required timezone,
daylight savings time etc) or is the time returned by a server the local time
adjusted for local changes like daylight savings?

Many thanks for any advice

Mark

new topic     » topic index » view message » categorize

2. Re: Time Synchronizing

Mark Brown wrote:

> Unfortunately, I don't understand how the whole NTP thing works. Do NTP
> servers
> all synchronize to GMT (and you have to adjust the time for required timezone,
> daylight savings time etc) or is the time returned by a server the local time
> adjusted for local changes like daylight savings?

As with most all Internet protocols, all is explained in an RFC.

http://www.faqs.org/rfcs/rfc1305.html

Note, there's no reference there to GMT. It's UTC.

-- 
Craig
Euphoria friendly webhosting: http://www.wazu.jp/hosting/euphoria.html

new topic     » goto parent     » topic index » view message » categorize

3. Re: Time Synchronizing

Thanks for the link Craig. I think I know what to do now.

Mark

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu