Details | Last modification | View Log | RSS feed
| Rev | Author | Line No. | Line |
|---|---|---|---|
| 1 | espaco | 1 | <?php |
| 2 | |||
| 3 | //-------------------------------------------------------------------------------------------------- |
||
| 4 | // This script outputs a JSON array of all timezones (like "America/Chicago") that PHP supports. |
||
| 5 | // |
||
| 6 | // Requires PHP 5.2.0 or higher. |
||
| 7 | //-------------------------------------------------------------------------------------------------- |
||
| 8 | |||
| 9 | echo json_encode(DateTimeZone::listIdentifiers()); |