Skip to content

How to get week start date in PHP?

$firstday = date('l - d/m/Y', strtotime("this week"));
echo "First day of this week: ", $firstday;
See also  How to declare list of object in Java as constant?

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.