In this tutorial you will learn about PHP date in next Friday in a PHP web application.
PHP date next Friday
In this tutorial you will learn about PHP date in next Friday in a PHP web application. The code of "php-date-next-friday.php" given below :
<?php
$date=date('Y-m-d');
echo "Current date :: ".$date."<br>";
echo "Date next Friday : ";
echo date('Y-m-d',strtotime("next Friday"));
?>
Output :
When run "php-date-next-friday.php" display output as:


[ 0 ] Comments