In this tutorial you will learn how find PHP date beginning of year in a PHP web application.
PHP date beginning of day
In this tutorial you will learn how find PHP date beginning of year in a PHP web application. The code of "php-date-beginning-of-day.php" given below :
<?php
$currentDate = date("Y-m-d");
echo "Current date : ".$currentDate."<br>";
echo "Current date beginning of day :: ".$currentDate = date("d/m/Y");
?>
Output :
When run "php-date-beginning-of-day.php" display output as :


[ 0 ] Comments