date_default_timezone_get

Gets the default timezone used by all date/time functions in a script

Example

<?php
echo date_default_timezone_get();
?>

Output

Asia/Calcutta