Return to Snippet

Revision: 5818
at April 6, 2008 10:26 by johnself


Initial Code
<?php
date_default_timezone_set('US/Central');
?>

Initial URL
http://php.net/manual/en/function.date-default-timezone-set.php

Initial Description
Instead of using this function to set the default timezone in your script, you can also use the INI setting date.timezone to set the default timezone.

* Does not affect timestamp functions, which are all GMT

Initial Title
Set date Function Timezone

Initial Tags
date

Initial Language
PHP