PHP timezone_version_get() Function

PHP timezone_name_from_abbr() Function
PHP timezone_transitions_get() Function

In this article, you will learn how to get the version of the timezone database.
The timezone database is a standard database currently being maintained by Paul Egger.
It contains information about the timezone of the countries and other statistics.
PHP timezone_version_get function returns the version of this database.

What is the syntax of the timezone_version_get() function in PHP?

timezone_version_get()

Example of the timezone_version_get() function

Example 1. In this example, we use the timezone_version_get() method to get the version number of the timezone.

<?php
print_f(timezone_version_get());
?>

PHP timezone_name_from_abbr() Function
PHP timezone_transitions_get() Function
en English
X
Scroll to Top