>
> db(db.table_name.timestamp.date()==datetime.today.date())
>

Dal supports the year, month and day operators. You could split the query 
by the three values using &

db((db... .year()==..date().year)&(db ... .month()== ...date().month ...) 
...

Not sure as I never tried it, but should work.

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to