Definition and Usage. The date_default_timezone_set() function sets the default timezone used by all date/time functions in the script.
www.w3schools.com