OK, I think I see the problem. it is the date format:
DATE_FORMAT(NOW(), '%d-%m-%y %h:%m')
this will format the date as dd-mm-yy hh:mm
or:
02-11-09 01:11
you need to change that to:
DATE_FORMAT(NOW(), '%Y-%m-%d %h:%m')
to format the date as yyyy-mm-dd hh:mm
or:
2009-11-02 01:11
SELECT * FROM tasks WHERE tasks.dueDateTime = DATE_FORMAT(NOW(), '%Y-%m-%d %h:%m')