0
0

get-timezones.php 393 B

123456789
  1. <?php
  2. //--------------------------------------------------------------------------------------------------
  3. // This script outputs a JSON array of all timezones (like "America/Chicago") that PHP supports.
  4. //
  5. // Requires PHP 5.2.0 or higher.
  6. //--------------------------------------------------------------------------------------------------
  7. echo json_encode(DateTimeZone::listIdentifiers());