Splitting a date string
| From: | Denis L. Menezes | Date: | Tue, 25 Feb 2003 16:13:17 +0000 |
| Subject: | Splitting a date string | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-137085@lists.php.net to get a copy of this message | ||
Hello friends,
I have a date string in the format yyyy-mm-dd in the MySQL database.
In my edit form I need to split this date string to get $Year as yyyy , $month as mm and $day as
dd .
Can someone please help me with the code?
Thanks
Denis