English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية

Basic PHP Tutorial

Advanced PHP Tutorial

PHP & MySQL

PHP Reference Manual

Usage and examples of PHP timezone_version_get() function

PHP Date & Time Function Manual

The timezone_version_get() function retrieves the version of timezonedb

Definition and usage

timezone_version_get()Returns the current version of timezonedb.

Syntax

timezone_version_get()

Parameters

This function does not accept any parameters

Return value

The PHP timezone_version_get() function returns a string value that specifies the version of the timezonedb.

PHP version

This function was initially introduced in PHP version5.3introduced in version 5.2.0 and is available in all higher versions.

Online examples

The following examples demonstratetimezone_version_get()Usage of the function-

<?php
   $version = timezone_version_get();
   print($version);
?>
Test and see‹/›

Output result

2019.3