date_default_timezone_set

  • (PHP 5 >= 5.1.0, PHP 7)
  • Sets the default timezone used by all date/time functions in a script