<? echo date('the format you want', strtotime('2003-02-15 13:19:02')); ?>
In this case 'the format you want' is 'l, d F, Y. H:i:s', but you should be able to look it up in the manual for yourself. php.net/date strtotime('2003-02-15 13:19:02') SHOULD work, converting the string to a unix time stamp, which is what date() needs to work. All this is available in the manual of course :) Justin on 15/02/03 7:56 PM, Dhaval Desai ([EMAIL PROTECTED]) wrote: > Hi, > > I have a string in this format: > 2003-02-15 13:19:02 > > I want to display it in a more readable format like Staurday, 11 Februardy, > 2003, 13:19:02. How can I achieve that. I tried date() function but could > not get what I wanted. > > -Dhaval > > > > > > _________________________________________________________________ > MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. > http://join.msn.com/?page=features/virus > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php