Skip to main content.
home | support | download

Back to List Archive

Re: Timestamp and -L option

From: Bill Moseley <moseley(at)not-real.hank.org>
Date: Thu Feb 27 2003 - 17:37:44 GMT
On Thu, 27 Feb 2003, David THOMAS wrote:

> Do you know how I can deal with date beetween 0 and nowdays??
> 
> let's say  day 1 = 86400s
> 
> 01/01/2003 = 2003*365*86400 = 63166608000

The world as we know it did not exist before Jan 1, 1970.

$ date +%s
1046366967


> Does this kind of date works with the -L option
> -L DATE 63166608000 64166608000

It will if you zero pad and use string comparisons.

> this pseudo-date is not included into the Unix Epoch...
> I'm wondering if someone is working on a patch for 2037 ;)

I'm waiting for 2036 before I start thinking about it.

-- 
Bill Moseley moseley@hank.org
Received on Thu Feb 27 17:38:15 2003