Was wondering if anyone could help?
suppose the date is 12-10-01
--
$timestamp = time();
//this is the "sent on" date
$yd_expl = explode(':',08-01-01);
$today=mktime(0,0,0,strftime('%m',$timestamp),strftime('%d',$timestamp),strftime('%y',$timestamp));
I'm trying to do a check on a date, to see if it's after the current date, so
basically i'm doing an
if(date("d-m-y")>"15-12-01") { do something }
I know that's obviously not the right way to do it, but can someone help me out?
2 matches
Mail list logo