PHP Tutorial - PHP timezone_version_get() Function






Definition

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

Syntax

PHP timezone_version_get() Function has the following syntax.

timezone_version_get()

Return

PHP timezone_version_get() Function returns the version of the timezone db as a string.

Example

Return the version of the timezone db:


<?php
echo timezone_version_get();
?>

The code above generates the following result.