📅  最后修改于: 2022-03-11 14:54:27.135000             🧑  作者: Mango
echo $tz = Carbon::now('Australia/Perth');
$local='2017-04-11 12:39:50';
echo $emitted = Carbon::parse($local);
echo $diff = $tz->diffInSeconds($emitted);