Re: Newbie question... date.
| From: | Chris Boget | Date: | Tue, 13 Jan 2004 20:10:15 +0000 |
| Subject: | Re: Newbie question... date. | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-174479@lists.php.net to get a copy of this message | ||
> I was wondering how you get the year, month, and day from a timestamp.
> (mySQL timestamp, Eg: 20040113130137) What PHP function(s) do I use? An
> example would be great....
I *believe* you can use strtotime();
Chris