On Tue, 19 Oct 2004 20:45, Roger Searle wrote:
> this has been bugging me all afternoon.  it would appear we're both
> partly wrong.  i didn't take into account the different number of leap
> days between 1900 and 1934 (8) [1], and 1970 and 2004 (9) so that brings
> us to the same day.  your method is altered by being wrapped by nzdt
> (made later by 13 hours).  therefore after making the appropriate
> adjustments to both methods a reconciliation occurs and the correct time
> and date is yesterday morning at 6:09.
>
> look what 60 seconds does...
>
> SuSEbox:/home/roger # date -d '1970-01-01 UTC 60 seconds'
> Thu Jan  1 12:01:00 NZST 1970
>
> makes it the afternoon! obviously it should be Jan 1 00:01:00
No! that's correct. The epoch started at midnight GMT/UTC.
So  1970-01-01 00:00:00 UTC will be 12:00:00 NZST, there being a 12 hour 
difference between UTC and NZST. Remember, there was no Summer Time in 1970  

-- 
Sincerely etc.,
Christopher Sawtell

Reply via email to