In this tutorial you will learn how find PHP date now in a PHP web application.
PHP date now
In this tutorial you will learn how find PHP date now in a PHP web application. The code of "php-date-now.php" given below :
<?php
$now_date=strtotime("now");
echo "date now : ";
echo date('Y-m-d H:i:s',$now_date);
?>
Output :
When run "php-date-now.php" display output as :


[ 0 ] Comments