Page 1 of 1

Getting Time/Date info from a source other than the computer clock

Posted: 3 Apr 2017 1:32
by rasvprolog
Hi

The following clauses get date/time, I guess from the computer's clock (which can be manually manipulated or inaccurate). Is there any way to get the date info from a more reliable source such as web browser?

Code: Select all

Time = time::new(), Time:getDate(ThisYear, ThisMonth, ThisDay),

Thanks

Posted: 4 Apr 2017 20:05
by Thomas Linder Puls
It is outside my expertise.

Posted: 5 Apr 2017 16:55
by Paul Cerkez
Like Thomas, not in my area of expertise, BUT I believe if they are connected to the internet (or corporate network), time can be pulled form a Corporate Server or from an internet 'clock' (there are a few of these).

https://time.is/about

www.time.gov

tf.nist.gov/tf-cgi/servers.cgi

do a google search on "internet source of accurate time" It will provide a lot of resources.

Posted: 6 Apr 2017 16:33
by rasvprolog
Thanks for your feedback.
My question is even if somehow one get access to an accurate time, how can you force the above clauses to get the time from that source not the computer clock.
Best regards,

Posted: 6 Apr 2017 21:22
by Harrison Pratt
Sometimes it helps to search the .NET and C# discussion groups to get a hint. Of course, you will need to puzzle out the translation from C# or other language to VIP. You might start your quest here:

http://stackoverflow.com/questions/6435 ... ect=1&lq=1

You won't get a plug and play answer, but you'll get started on a path to doing it yourself.

Posted: 7 Apr 2017 10:56
by rasvprolog
Thanks for your comments, I'll do.