RonnyNishimoto
07-12-2012, 02:41 AM
I was looking through w3schools PHP tutorial and noticed that the output of one of the examples didn't match what I got. I am running on an Apache server (localhost), so it might possibly be a settings problem or?
http://www.w3schools.com/php/php_date.asp
<?php
echo date("Y/m/d") . "<br />";
echo date("Y.m.d") . "<br />";
echo date("Y-m-d");
?>
The output of the code above should be something like this:
2009/05/11
The output I got was like this:
2012/Jul/Thu
http://www.w3schools.com/php/php_date.asp
<?php
echo date("Y/m/d") . "<br />";
echo date("Y.m.d") . "<br />";
echo date("Y-m-d");
?>
The output of the code above should be something like this:
2009/05/11
The output I got was like this:
2012/Jul/Thu