Closed. This question needs
details or clarity. It is not currently accepting answers.
Answer
Solution:
Use this code to change date in any format
<?php
echo "PHP Date Format<br/>";
echo date("Y-m-d")."<br/>";
echo date("jS F, Y")."<br/>";
echo date("Y.m.d") ."<br/>";
echo date("Y/m/d")."<br/>";
echo date("Y/m/d H:i:s")."<br/>";
echo date('F d Y H:i:s')."<br/>";
?>
Out Put
PHP Date Format
January, 2011
2011.01.2S
2011 01/25 09f4:os
Jannaly 2011
Source