Re: easy conversion to a date?
| From: | Michael Sweeney | Date: | Thu, 29 May 2003 16:27:59 +0000 |
| Subject: | Re: easy conversion to a date? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-149453@lists.php.net to get a copy of this message | ||
Look at http://www.php.net/strtotime
..micahel..
On Thu, 2003-05-29 at 09:21, Anthony wrote:
> I have a form where the user enters a date into a text input field. I need
> to convert this text to a date and put it in a field in a mySQL database.
> Is there an easy way to do this? Do I have to tear the string appart and
> create a date out of the parts? Someone must have a fiunction that will do
> this work already right?
>