Re: Please help me on this script
Dr J R Stockton wrote on 26 okt 2006 in comp.lang.javas cript:
Vishnu is the Ultimate Reality and is responsible for the maintainance and
preservation of the universe, so he is surely would not be interested in
futilities like local time differences of one hour?
Ah, yes,
because the rounding takes care of time zone differences
that are less than half a day.
--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
Dr J R Stockton wrote on 26 okt 2006 in comp.lang.javas cript:
In message <Xns9868B29AF26 92eejj99@194.10 9.133.242>, Thu, 26 Oct 2006
15:33:26, Evertjan. <exjxw.hannivoo rt@interxnl.net writes
>
Being named Vishnu, he may be in India where IIRC they need no Summer
Time.
15:33:26, Evertjan. <exjxw.hannivoo rt@interxnl.net writes
>>
> // below formula from John Stockton at
> // <http://www.merlyn.demo n.co.uk/js-date1.htm#DDf>
> // no account is taken of summer/winter and other time differences.
>>
var diffDate = Math.round( ( d2-d1 ) / 864e5 );
> // below formula from John Stockton at
> // <http://www.merlyn.demo n.co.uk/js-date1.htm#DDf>
> // no account is taken of summer/winter and other time differences.
>>
var diffDate = Math.round( ( d2-d1 ) / 864e5 );
Being named Vishnu, he may be in India where IIRC they need no Summer
Time.
preservation of the universe, so he is surely would not be interested in
futilities like local time differences of one hour?
But, contrary to what your comment suggests, that method deals
with changes in season between d1 & d2.
with changes in season between d1 & d2.
because the rounding takes care of time zone differences
that are less than half a day.
--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
Comment