format dates from a database
| From: | Caleb Walker | Date: | Sat, 18 Aug 2001 20:05:46 +0000 |
| Subject: | format dates from a database | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-11501@lists.php.net to get a copy of this message | ||
I am wondering if there is an easier way to format dates that come out of a
database. My database stores my date in the format- "YYYY-MM-DD". I know
that I can take this and rearrange it with some string manipulation but is
there any other easier way to do that say like making it say Sep. 09, 2001
instead of 2001-09-09 without using ereg()?
Thanks for your help