THE WORLD'S LARGEST WEB DEVELOPER SITE

PHP timezone_version_get() Function

❮ PHP Date/Time Reference

Example

Return the version of the timezone db:

<?php
echo timezone_version_get();
?>
Run example »

Definition and Usage

The timezone_version_get() function returns the version of the timezone db.


Syntax

timezone_version_get();

Technical Details

Return Value: Returns the version of the timezone db as a string
PHP Version: 5.3+

❮ PHP Date/Time Reference