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));
// Here $date is the timestamp value from the database .
?>
Handy code hun ?
good tips, that will work for me.
March 3, 2009 at 6:40 am
Just dropping by.Btw, you website have great content!
______________________________
Start Getting Paychecks For Easy Work That Fits Your Schedule, No Experience Required.