Works great. Thank you!!
On Saturday 01 March 2008 13:07:38 Sam's Lists wrote:Here's the way I'd do it:
> I'd like to do a select using a timedelta. I.e. I'd like one of the
> parameters to be that it was updated in the last week.
cutoff = datetime.datetime.now() - datetime.timedelta(days=7)
rrunning = list(RRun.select(AND(RRun.q.progressID == 1,RRun.q.pingTime >cutoff)))