$the_date = function($to_timestamp){
return strtotime($to_timestamp);
};
echo $the_date('2 Jan 2012'); // This returns nothing.
Unless I'm using it wrong. I'm not sure.
This post has been edited by hiddenghost: 01 February 2012 - 10:53 AM




Posted 01 February 2012 - 10:51 AM
$the_date = function($to_timestamp){
return strtotime($to_timestamp);
};
echo $the_date('2 Jan 2012'); // This returns nothing.
This post has been edited by hiddenghost: 01 February 2012 - 10:53 AM
Posted 01 February 2012 - 11:00 AM
