date_default_timezone_set
reactphp/socket
Supported Versions: PHP 5 >= 5.1.0, PHP 7, PHP 8
Sets the default timezone used by all date/time functions in a script
<?php date_default_timezone_set
(
string $timezoneId
):
bool