Try
echo date('Y-m-d', strtotime('Monday this week'));
echo date('Y-m-d', strtotime('Sunday this week'));
More Related Contents:
- Display which day it is? sunday or monday “php coding”? [closed]
- Days remaining before birthday in php [duplicate]
- How to get time difference in minutes in PHP
- How can I compare two dates in PHP?
- Calculate business days
- How to find the last day of the month from date?
- Compare given date with today
- PHP DateTime::modify adding and subtracting months
- How to convert date to timestamp in PHP?
- PHP setlocale has no effect
- Accessing dates in PHP beyond 2038
- Date Difference in php on days? [duplicate]
- Round minute down to nearest quarter hour
- How to list all months between two dates
- Difference between 2 dates in seconds [duplicate]
- Calculating days of week given a week number
- increment date by one month
- PHP date format /Date(1365004652303-0500)/
- How to reformat date in PHP?
- PHP, Get tomorrows date from date
- PHP date() in foreign languages – e.g. Mar 25 Aoû 09 [duplicate]
- Calculate total seconds in PHP DateInterval
- Date minus 1 year?
- How to parse a date string in PHP?
- Change date format (in DB or output) to dd/mm/yyyy – PHP MySQL
- PHP date time greater than today
- Formatting an SQL timestamp with PHP
- php – add two hours to date variable
- Converting to date in PHP from yyyymmdd format
- Validate date format in php