PHP date and strtotime functions to get last week first date and last date, last month’s first date and last date, add and minus in date.

seen from Mexico
seen from Brazil

seen from Nepal

seen from Australia

seen from United States
seen from United Kingdom
seen from United States
seen from United States

seen from Malaysia
seen from China
seen from China
seen from Brazil
seen from Canada
seen from Germany
seen from France
seen from Canada
seen from Australia
seen from United States
seen from United States
seen from China
PHP date and strtotime functions to get last week first date and last date, last month’s first date and last date, add and minus in date.
The strtotime() function is a built-in function in PHP. This function will change the textual DateTime into a Unix timestamp as per your requirement.