[ad_1]
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
[ad_2]
solved Get first day of current month in php [closed]
[ad_1]
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
[ad_2]
solved Get first day of current month in php [closed]