Home » PHP » PHP get last week date

PHP get last week date

If you want to get last week dates using php, that can be get from the following example.

But above function display week start date and end date only.If you already know the week number and year you can get dates of that week, like this.

Tags

Similar posts