PHP Date/Time Functions reference
timezone_location_get() – Returns location information for a specified timezone
Location information for New York's timezone:
Array ( [country_code] => US [latitude] => 40.71416 [longitude] => -74.00639 [comments] => Eastern (most areas) )Location information for Taipei's timezone:
Array ( [country_code] => TW [latitude] => 25.05 [longitude] => 121.5 [comments] => )timezone_name_from_ abbr() – Returns the timezone name from abbreviation
America/New_Yorktimezone_name_get() – Returns the name of the timezone
America/New_Yorktimezone_offset_get() – Returns the timezone offset from GMT
-14400Shows offset from Europe/Oslo time for America/New_York in milliseconds.
Display the server's Date and time in a US style format:
format from SI events:
F d, g:ia
April 17, 6:59am
2026-04-17 06:59:56