Here is a code snippet to work out the date of the last Sunday:
echo date('Y-m-d',strtotime('last sunday'));
Your email address will not be published. Required fields are marked *
Save my name, email, and website in this browser for the next time I comment.
Copyright 2023 © All rights Reserved