📅  最后修改于: 2022-03-11 14:53:56.605000             🧑  作者: Mango
代码示例1
$end = Carbon::parse($request->input('end_date'));
$current = Carbon::now();
$length = $end->diffInDays($current);
dd($length);