Skip to content

Instantly share code, notes, and snippets.

@fuchao2012
Created June 15, 2015 05:09
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save fuchao2012/6484abdb33b66a45b176 to your computer and use it in GitHub Desktop.
set the time zone to china
/*
* -------------------------------------------------------------------
* Set the time zone to china
* -------------------------------------------------------------------
*/
date_default_timezone_set('Asia/Shanghai');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment