Hello,
I have a script that sends out emails every minute. When it starts its loop, it queries the database for all entries that are equal to the current utc time. I would like to have it find all entries in the database that correspond to the current time down to the minute.
So there is a 'time' column that stores the utc time: '2009-03-06 20:18:31'. When it searches is there any way to ignore the seconds attribute with out changing how I store the time?
EDIT: I'm using mysql server.
Thanks!