PHP timezone_version_get()Function

PHP Date/TimePHP Date/Time Reference Manual

Examples

Return the version of the timezone database:

<?php
echo timezone_version_get();
?>

Run example »

Definition and Usage

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

Syntax

timezone_version_get();

Technical Details

Return value: Returns the version of the timezone database as a string.
PHP Version: 5.3+


PHP Date/TimePHP Date/Time Reference Manual Other Extensions