PHP date now

PHP date now


Posted in : PHP Posted on : February 3, 2011 at 6:13 PM Comments : [ 0 ]

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 :

Download Source Code

Go to Topic «PreviousHomeNext»

Your Comment:


Your Name (*) :
Your Email :
Subject (*):
Your Comment (*):
  Reload Image
 
 

 
Tutorial Topics