Tuesday, 13 August 2013

PHP Date function displaying wrong date

PHP Date function displaying wrong date

This is my code for displaying today's current date:
$date = date('m/d/Y');
echo"(".$date.")";
In return my output is: (08/14/2013)
Why isn't the date displaying today's actual date which is 8/13/2013?

No comments:

Post a Comment