lundi 11 janvier 2016

how to i find number of mondays between two dates using laravel 5 carbon

Example:

$start_date = "10-01-2016"; //any date format ... dd-mm-yyyy

$end_date = "19-01-2016";

$looking_for_day_name = "Monday";

Expected output : Monday's between specified date range are 2



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire