[Zope] ZCatalog: Dates

Andy McKay andy@agmweb.ca
Tue, 30 Jul 2002 09:01:44 -0700


> Which index should I use if I want to
> index dates?

FieldIndex

> How can I search between date ranges?

Where date is a DateTime object and created is the date index
eg: catalog(created=[EarliestDate,LatestDate],created_usage=
'range:min:max',)
--
  Andy McKay
  @gmweb Consulting
  http://www.agmweb.ca

----- Original Message -----
From: "Thomas Guettler" <zopestoller@thomas-guettler.de>
To: <zope@zope.org>
Sent: Tuesday, July 30, 2002 7:04 AM
Subject: [Zope] ZCatalog: Dates


> Hi!
>
> Which index should I use if I want to
> index dates?
>
> How can I search between date ranges?
>
> Is there a mirror of zope? I need the zopeBook,
> but zope.org is very slow at the moment.
>
>   thomas
>
>
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )
>