date_default_timezone_set()
Sets the timezone. Can be used anywhere in the code.
Usage: date_default_timezone_set(string $timezoneId): bool date_default_timezone_set('Europe/Copenhagen');