How to display end date of the current week in PHP?

Admin   PHP   137  2021-03-18 04:00:06

Hi Guys,

In this example,I will learn you how to display end date of the current week in php.you can easy and simply display end date of the current week in php.

Example:

 

<?php

$date = date('Y-m-d');

echo $date;

?>

Output:

 

2021-01-09

It will help you...