Skip to main content.
home | support | download

Back to List Archive

Re: Timestamp and -L option

From: David THOMAS <david.thomas(at)not-real.alti.lu>
Date: Fri Feb 28 2003 - 10:48:19 GMT
>>It will if you zero pad and use string comparisons.
PropertyNames DATE

DATE (timestamp format) is considered as a string. 

The comparison with -L does not work. I think I miss something
I need to find document   > 63166608000 and document < 64166608000







Bill Moseley <moseley@hank.org>
27/02/2003 18:36

 
        To:     David THOMAS <david.thomas@alti.lu>
        cc:     Multiple recipients of list <swish-e@sunsite.berkeley.edu>
        Subject:        Re: [SWISH-E] Timestamp and -L option


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






*********************************************************************
Due to deletion of content types excluded from this list by policy,
this multipart message was reduced to a single part, and from there
to a plain text message.
*********************************************************************
Received on Fri Feb 28 10:48:59 2003