JRS: In article <sv********************************@4ax.com>, dated
Fri, 9 Dec 2005 01:48:24 local, seen in news:comp.lang.javascript, Jumbo
<ng*@mail.dk> posted :
I need a script for my site that shows my servertime minus 7 hours.
Anyone who can help?
But what is servertime - UTC or local?
If it is local, what is servertime minus 7 hours when the true time is
2006-03-26 04:00 UTC (assuming a Danish server)? 21:00 or 20:00 ?
Javascript on a Web page - the prime topic of this group - has no access
to servertime; but, if the local computer is correctly set, it does have
access to UTC, from which the local time at any location for which the
Summer Time rules are known can be calculated.
Read the FAQ; see below.
--
© John Stockton, Surrey, UK. ?@merlyn.demon.co.uk Turnpike v4.00 IE 4 ©
<URL:http://www.jibbering.com/faq/> JL/RC: FAQ of news:comp.lang.javascript
<URL:http://www.merlyn.demon.co.uk/js-index.htm> jscr maths, dates, sources.
<URL:http://www.merlyn.demon.co.uk/> TP/BP/Delphi/jscr/&c, FAQ items, links.