Page 1 of 1

custom report by today's date

PostPosted: Wed Jan 14, 2009 6:08 pm
by tsuneoka
want to create a report showing today's date & yesterday's date stats.
how to create that filter
thanks

Re: custom report by today's date

PostPosted: Thu Jan 15, 2009 11:04 am
by kraada
You'd need to create a stat that compares a hand's date with today's date and returns true if the hand happened today.

You'll need the PostgreSQL date/time functions, which you can read more about in this thread.