Skip to content

How to get the list of available timezones in PHP?

echo date_default_timezone_get(); //UTC

//Read more at https://www.php.net/manual/en/function.date-default-timezone-get.php
See also  How to define functions in Python?

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.