Ask what Date is it?
-
Silly as it may sound: Are anyone exposing the current UTC-date on the internet so it can be accessed through say a webservice or something. I've been searching for days for this but I don't get anywhere. Kind regards,
Michael Mogensen
-
Silly as it may sound: Are anyone exposing the current UTC-date on the internet so it can be accessed through say a webservice or something. I've been searching for days for this but I don't get anywhere. Kind regards,
Michael Mogensen
You could get DateTime.Now as UTC if you like.
-
Silly as it may sound: Are anyone exposing the current UTC-date on the internet so it can be accessed through say a webservice or something. I've been searching for days for this but I don't get anywhere. Kind regards,
Michael Mogensen
Tuesday, 13th January 2009. Your welcome ;P
-
Tuesday, 13th January 2009. Your welcome ;P
:laugh: :laugh: Do you work for Microsoft?
"A Journey of a Thousand Rest Stops Begins with a Single Movement"
-
Silly as it may sound: Are anyone exposing the current UTC-date on the internet so it can be accessed through say a webservice or something. I've been searching for days for this but I don't get anywhere. Kind regards,
Michael Mogensen
Try NTP[^] - that's what Windows and OS X and probably Linux use to set clock time from authoritative sources. [edit]An HTTP based alternativer: HTTP Time Protocol[^].[/edit]
-
You could get DateTime.Now as UTC if you like.
I suppose that's (only) the end-user-OS time - right?
Michael Mogensen
-
Try NTP[^] - that's what Windows and OS X and probably Linux use to set clock time from authoritative sources. [edit]An HTTP based alternativer: HTTP Time Protocol[^].[/edit]
Thanks - think I can use this. Back to winsock(s)32 again :-)
Michael Mogensen
-
I suppose that's (only) the end-user-OS time - right?
Michael Mogensen
If the system is in sync there should be no problem.
-
If the system is in sync there should be no problem.
But if the user are cheating there is. I need this info to get a program registration right. Using a UDP winsock one can get the official time here: Area: HostName: Worldwide pool.ntp.org Asia asia.pool.ntp.org Europe europe.pool.ntp.org North America north-america.pool.ntp.org Oceania oceania.pool.ntp.org South America south-america.pool.ntp.org I've tested it yesterday and it works! (NTP (network time protocol) Uses UDP instead of the usual TCP) Kind regards,
Michael Mogensen