date_default_timezone_set()
to Set the Default Timezonedate_default_timezone_set()
to Set the Default TimezoneThe date_default_timezone_set()
function sets the default timezone used by all date/time functions. This ensures consistent date/time operations across your application.