PHPize Online / SQLize Online  /  SQLtest Online

A A A
Share      Blog   Popular
Copy Format Clear
Copy Clear
Copy Format Clear
<?php date_default_timezone_set('America/Los_Angeles'); $script_tz = date_default_timezone_get(); echo $script_tz."\n"; $user_now = mktime(0, 0, 0, 5, 6, 2023); echo $user_now."\n"; echo date('Y-m-d H:i:s', $user_now)."\n"; date_default_timezone_set('UTC'); $script_tz = date_default_timezone_get(); echo $script_tz."\n"; $utc_now = mktime(0, 0, 0, 5, 6, 2023); echo $utc_now."\n"; echo date('Y-m-d H:i:s', $utc_now)."\n";
Show:  
Copy Clear