Re: Using strtotime on 'old' dates.
| From: | Nathan Fritz | Date: | Fri, 10 Jan 2003 21:38:06 +0000 |
| Subject: | Re: Using strtotime on 'old' dates. | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-131193@lists.php.net to get a copy of this message | ||
We're running into the same problem. It was quite convenient to use
date("Y-m-d",strtotime($dateField)) to process date data for MySQL. Worked
fine for my news management system, since I work with current dates, but my
colleague is using it for an application submission system, and needs
birthdates and such from before 1970.
Are there other functions that can do the same kind of textual date
conversions?