Posted by: ranacse05 on: February 5, 2009
Hello guys , this post for the newbie .Ofter we need to store the current time using mysql NOW() , but when later we want to print that we get 2009-02-05 19:02:49 .
But using a single line we can make that like 05 Feb, 2009 .
<?
echo date("d M, Y",strtotime($date));
[...]
Recent Comments