aboutsummaryrefslogtreecommitdiffstats
path: root/library/fullcalendar/demos/php/get-time-zones.php
blob: 241e1bd18465090653817c12efe62fb8a53f6af9 (plain) (blame)
1
2
3
4
5
6
7
8
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());