On Wed, 2004-07-28 at 22:17, Bob Rogers wrote:
The difference between that and Google's number is due to the fact
that 2208984820 is the number of seconds in an average year, which is
not a whole number of days -- it's more like 365.24 days. In fact,
2208988800 seconds divided by 86400
Is there a quick way to convert a time stamp (date time) as seconds
since 1900-01-01 00:00:00?
time() uses 1970 as base (epoch).
But the system I am dealing with on mainframe uses 1900 as base.
Looked at Date::Calc and Date::Manip but they dont seem to handle this.
Rather than hand-roll some
On Wed, 2004-07-28 at 20:58, Ranga Nathan wrote:
Is there a quick way to convert a time stamp (date time) as seconds
since 1900-01-01 00:00:00?
time() uses 1970 as base (epoch).
But the system I am dealing with on mainframe uses 1900 as base.
Looked at Date::Calc and Date::Manip but
On Jul 28, 2004, at 8:58 PM, Ranga Nathan wrote:
Is there a quick way to convert a time stamp (date time) as seconds
since 1900-01-01 00:00:00?
time() uses 1970 as base (epoch).
time() + (24*60*60)*((365*70)+int(70/4))
24*60*60 is the number of seconds in a day
365*70 is the number of days in 70
From: John Abreau [EMAIL PROTECTED]
Date: 28 Jul 2004 21:21:03 -0400
On Wed, 2004-07-28 at 20:58, Ranga Nathan wrote:
Is there a quick way to convert a time stamp (date time) as seconds
since 1900-01-01 00:00:00?
time() uses 1970 as base (epoch).
But the system I am
PM
To: John Abreau [EMAIL PROTECTED], Ranga Nathan
[EMAIL PROTECTED]
cc: [EMAIL PROTECTED]
Subject:Re: [Boston.pm] Need time since 1900-01-01
00:00:00
From: John Abreau [EMAIL PROTECTED]
Date: 28 Jul 2004 21:21:03 -0400
On Wed, 2004-07-28