PHP Timezone_version_get () function

PHP

Syntax:
string timezone_version_get() 
Parameters:The timezone_version_get() function does not require any parameters. Return Value:Returns the version of the time zone database as a string.ExceptionsThe timezone_version_get() function produces output 0.system since the PHP version has not been updated.The following program illustrates the timezone_version_get() function in PHP:Program :  
/ / Display the version of the timezone database $timezone_db = timezone_version_get(); echo ( " Timezone Database Version: " . $timezone_db ); ?>
Exit:
Timezone Database Version : 0.system 
Link: http: // php.net/manual/en/function.timezone-version-get.php



Get Solution for free from DataCamp guru