date_default_timezone_set

PHP 5 >= 5.1.0, PHP 7, PHP 8
date_default_timezone_set - Sets the default timezone used by all date/time functions in a script
Manual
Code Examples

Example #1 Getting the default timezone

PHP Version:


Function date_default_timezone_set:

Date and Time Functions

Most used PHP functions