Im pulling a date from a database which is formatted like dd-mm-YYYY.
What I want to do is check the current date;
a MySQL-only solution would be something like this:
SELECT IF (UNIX_TIMESTAMP(`field`) > UNIX_TIMESTAMP(), `field`,'GO AHEAD') as `yourdate` FROM `table`