PHP Date Create

PHP Date Create


Posted in : PHP Posted on : January 22, 2011 at 6:34 PM Comments : [ 0 ]

In this tutorial you will learn how to PHP date create in a PHP web application .

PHP Date Create

In this tutorial you will learn how to PHP date create in a PHP web application . The date()  function  use for create date and it also support different date format. The code of "php-date-create.php"  given below that create different date format :

<?php
echo "PHP Date <br/>";
echo date("Y-m-d")."<br/>";
echo date("Y.m.d") ."<br/>";
echo date("Y/m/d")."<br/>";
echo date("Y/m/d H:i:s")."<br/>";

?> 

Output :

 When  run  "php-date-create.php"  display output as :

Download Source Code

Go to Topic «PreviousHomeNext»

Your Comment:


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

 
Tutorial Topics