PHP Function Reference

PHP timezone_version_get() Function



The PHP timezone_version_get() function returns a string specifying the current version of the timezonedb.

Syntax

timezone_version_get()

Parameters

No parameter is required.

Return Value

Returns a string specifying the current version of the timezonedb.

Example:

The example below shows the usage of timezone_version_get() function.

<?php
//getting the current version of the timezonedb
echo timezone_version_get();
?>

The output of the above code will be:

0.system

❮ PHP Date and Time Reference