set mysqli time_zone

This commit is contained in:
xiaomlove
2022-08-16 00:02:44 +08:00
parent 79513cef6d
commit 5e42d865f0
2 changed files with 2 additions and 2 deletions
+1 -2
View File
@@ -86,8 +86,7 @@ class Test extends Command
*/
public function handle()
{
$time = Carbon::parse('2022-08-10');
$r = $time->diffInDays();
$r = date('P');
dd($r);
}