Created
October 7, 2013 08:35
-
-
Save objectiveSee/6864502 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
date_default_timezone_set('Europe/London'); | |
echo date_default_timezone_get(); | |
echo "\n\n"; | |
echo date("Y-m-d\Th:m:s", time()); | |
echo "\n\n"; | |
exit; | |
// OUTPUT | |
Europe/London | |
2013-10-07T09:10:24 | |
// BUT.... my current time is 34 minutes past the hour! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment