SyntaxFix
Write A Post
Hire A Developer
Questions
The format you've used is not recognized by strtotime(). Replace
$date = "04-15-2013";
by
$date = "04/15/2013";
Or if you want to use - then use the following line with the year in front:
-
$date = "2013-04-15";