diff options
Diffstat (limited to 'library/fullcalendar/examples/php/get-time-zones.php')
-rw-r--r-- | library/fullcalendar/examples/php/get-time-zones.php | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/library/fullcalendar/examples/php/get-time-zones.php b/library/fullcalendar/examples/php/get-time-zones.php new file mode 100644 index 000000000..241e1bd18 --- /dev/null +++ b/library/fullcalendar/examples/php/get-time-zones.php @@ -0,0 +1,9 @@ +<?php + +//-------------------------------------------------------------------------------------------------- +// This script outputs a JSON array of all timezones (like "America/Chicago") that PHP supports. +// +// Requires PHP 5.2.0 or higher. +//-------------------------------------------------------------------------------------------------- + +echo json_encode(DateTimeZone::listIdentifiers());
\ No newline at end of file |