How to return the current date in php
This simple formula will return the date in php
<?Php
$date1=date('Y-m-d');
echo $date1;
?>