On Saturday 15 February 2003 16:56, Dhaval Desai 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.

strtotime(), strftime().

-- 
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
------------------------------------------
/*
We have met the enemy, and he is us.
                -- Walt Kelly
*/


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to