i'm putting together a little timesheet system which outputs statistics at the other end. one of my mysql queries is as follows -
SELECT * FROM timesheet WHERE tsdate > $start_date AND tsdate < $end_date
except that I dont want to have to put in a start date and end date, I want it to pick all records with a tsdate within the current month (and eventually another one which picks all records for the previous month) any ideas?
l.