PHP date uk format

PHP date uk format


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

In this tutorial you will learn how find PHP date uk format in a PHP web application.

PHP date uk format

In this tutorial you will learn how find PHP date uk format in a PHP web application. In this tutorial first display date uk  format and again date format convert in  php mysql date format . The code of "php-date-uk-format.php"  given below :

<?php
echo "UK date format : ";
$uk_date=date('d-m-Y');
echo $uk_date;
echo "<br>";
echo "Change date format : ";
echo date('Y-m-d',strtotime($uk_date));
?>

Output :

When run "php-date-uk-format.php" display output as :

Download Source Code

Go to Topic «PreviousHomeNext»

Your Comment:


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

 
Tutorial Topics