This function returns the default timezone used by all date/time functions in a script.

Syntax:date_default_timezone_get(void)

Description:

The argument “void” is Optional.

Example:
Code:

echo(date_default_timezone_get());

Output:

UTC

eXTReMe Tracker