/ Published in: PHP
These are some date functions.
Get Current Week Start Date
Get Current Week End Date
Get Current Month Start
Get Current Month End
Get Current Year Start
Get Current Year End
and these functions can help you getting last week's start date or next month end date.
To get last week's start date, remove 7 days from current week, and pass that date to get current week start date and it will return last week's start date.
Get Current Week Start Date
Get Current Week End Date
Get Current Month Start
Get Current Month End
Get Current Year Start
Get Current Year End
and these functions can help you getting last week's start date or next month end date.
To get last week's start date, remove 7 days from current week, and pass that date to get current week start date and it will return last week's start date.