PHP date day name

PHP date day name


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

In this tutorial you will learn how find day name in a PHP web application.

PHP date day name

In this tutorial you will learn how find day name in a PHP web application. The code of  "php-date-day-name.php" given below:

<?php
$currentDate=date('Y-m-d h:i:s');
echo "Current date : ".$currentDate;
echo "<br>";
echo "Day name : ";
echo date("l");
?>

Output :

When run "php-date-day-name.php"  display output as :

Download Source Code

Go to Topic «PreviousHomeNext»

Your Comment:


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

 
Tutorial Topics