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

Jan 09, 2021

.

Admin

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...

#PHP