[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: ldapsearch in OL 2



Warren Dale wrote:

> Matthew,
>
> I have used a technique like this to get all of July:
>
>
> '(&(modifyTimestamp>=20010701000000Z)(modifyTimestamp<=20010731235959Z))'
>
> Useful?

Note also that you may skip the seconds (they're assumed
to be '00' then) and you may use a time shift, with the format

    YYYYmmddHHMM[SS]{Z|{+|-}HHMM}

where +/- refers to the shift with respect to UTC.

I wonder if the syntax could be extended to support lesser
resolutions without any ambiguity ... say:

    YYYY[mm[dd[HH[MM[SS]]]]][{Z|{+|-}HH[MM]}]

Tis wouldn't be a violation of the syntax, because the original
one would be still supported, only validation would be more
liberal.

Pierangelo.

--
Dr. Pierangelo Masarati               | voice: +39 02 2399 8309
Dip. Ing. Aerospaziale                | fax:   +39 02 2399 8334
Politecnico di Milano                 | mailto:masarati@aero.polimi.it
via La Masa 34, 20156 Milano, Italy   | http://www.aero.polimi.it/~masarati