Last active
October 1, 2015 15:38
-
-
Save natp0ng/2016909 to your computer and use it in GitHub Desktop.
set time zone
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('Asia/Bangkok'); | |
echo date('d-m-Y H:i:s'); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment