Hi James,

On Tue, 4 Mar 2008 11:03:11 +0900, "James Henstridge"
<[EMAIL PROTECTED]> said:
> You could try something like this:
> 
> today = datetime.date.today()
> start = datetime.datetime.combine(today, datetime.time(0,0))
> end = start + datetime.timedelta(days=1)
> 
> results = self.store.find(
>     Screening, Screening.when >= start, Screening.when < end)
> 
> That is, pick all screenings that fall within the desired time interval.

That works like a charm, thank you!

Lutz

-- 
storm mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/storm

Reply via email to