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 :


[ 0 ] Comments