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  CSS code snippet - How to get two elements on the same line html?

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.