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


[1900 wasn't a leap year, years divisible by 100 are not, unless they are divisible by 400. hence 2000 was. gives 97 leap years per 400 years]


Nick Rout wrote:

bzzzt incorrect, not sure if timezones are the problem.

Mon Oct 18 19:09:16 NZDT 2004

it may have been 6.09 am in Greenwich - no thats still out by a day?

1900 was a leap year and 2000 wasn't, or is it the other way round?

I'll stick to date as proposed by mjg and the date info page :)


On Tue, 19 Oct 2004 14:34:43 +1300 Roger Searle <[EMAIL PROTECTED]> wrote:



putting that into a spreadsheet, which starts counting from 1900 I believe,
returns 17/10/1934 6:09am. So I believe your answer is 17/10/2004 6:09am -
Sunday morning just gone?





Reply via email to