because i've been testing things 😉 and it now works.
the only thing i've changed to your example was i've removed the now() bit and done that outside of the query
$rdate = date("Y-m-j");
$year = substr($rdate,0,4);
$mon = substr($rdate,5,2);
$thismonth = $year.$mon;
[code=php]
making the query -
[code=php]SELECT * FROM timesheet WHERE EXTRACT(YEAR_MONTH FROM tsdate) = '$thismonth'
which produces the results I was after. Many thanks for your help MrHappiness! 🙂
l.