clam2020/public/js/lib/fullcalendar/demos/php/get-timezones.php
2018-10-05 13:13:30 -03:00

9 lines
393 B
PHP

<?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());