Here you go:
$thisMonthsFirstDay = (new DateTime('first day of this month'))->format('l');
Also always take a look into the documentation, you can learn a lot from there.
0
solved Get first day of current month in php [closed]
Here you go:
$thisMonthsFirstDay = (new DateTime('first day of this month'))->format('l');
Also always take a look into the documentation, you can learn a lot from there.
0
solved Get first day of current month in php [closed]