Running
var_dump(new \DateTime('first day of this week'));
Returns the 1st of September
https://3v4l.org/GIPKR
Is this a bug, and is there any workaround?
Please try below code :
var_dump(new \DateTime('monday this week'));
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With