timezone_version_get

(PHP 5 >= 5.3.0)

timezone_version_get Gets the version of the timezonedb

Description

string timezone_version_get ( void )

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

Коментарии

If the output of timezone_version_get() is "0.system", the documentation encourages to install the timezonedb PECL package. However, consider leaving it as is, because "0.system"indicates the operating system's tzdata database is being used, which is actually desirable, since the tzdata package gets updated by the operating system's package manager.
2025-02-09 21:51:48
http://php5.kiev.ua/manual/ru/function.timezone-version-get.html

    Поддержать сайт на родительском проекте КГБ