[wd_asp elements=’search’ ratio=’100%’ id=1]

DateTime format – search or delete – Wildcard

30th May 2014

MySql

mysql codehaven category

DateTime format can cause a problem when deleting or searching and only wanting to use the day in question not the time as well.

Use this code to get round that problem…use the wildcard!
DELETE FROM reports WHERE mydate > "2014-05-30 *"