Answers for "find curren monday in laravel carbon"

PHP
0

find curren monday in laravel carbon

$now = Carbon::now();
$weekStartDate = $now->startOfWeek()->format('Y-m-d H:i');
$weekEndDate = $now->endOfWeek()->format('Y-m-d H:i');
Posted by: Guest on September-02-2020

Browse Popular Code Answers by Language