Hi all.
i have date stored in a field with the format 2009-03-20 (for example... and notice the dashes).
i would like to be able to pull this date from the table by matching it to todays date.
i have tried
$today = mktime(0,0,0,date("m"),date("d"),date("Y"));
$today2 = date("Y/m/d", $today);
but this gives date wit 2009/03/20 so does not match what is in the table.
does anyone know how change the / to - ?
many thanks guys!!!!