timezone_version_get

(PHP 5 >= 5.3.0, PHP 7)

timezone_version_get Gets the version of the timezonedb

Description

timezone_version_get ( ) : string

Returns the current version of the timezonedb.

Return Values

Returns a string.

Examples

Example #1 Getting the timezonedb version

<?php
echo timezone_version_get();
?>

The above example will output something similar to:

2009.7

© 1997–2020 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/function.timezone-version-get.php