timezone_version_get

(PHP 5 >= 5.3.0, PHP 7, PHP 8)

timezone_version_get Gets the version of the timezonedb

Description

timezone_version_get(): string

Returns the current version of the timezonedb.

Parameters

This function has no parameters.

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