PHP timezone_version_get() Function
In this chapter you will learn:
- Definition for PHP timezone_version_get() Function
- Syntax for PHP timezone_version_get() Function
- Return value for PHP timezone_version_get() Function
- Example - Return the version of the timezone db
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.
Next chapter...
What you will learn in the next chapter:
- What is PHP basename() function
- Syntax for PHP basename() function
- PHP basename() function Parameter
- PHP basename() function return value
- Example - get the filename part of a path
Home » PHP Tutorial » PHP Date Functions