Re: easy conversion to a date?

From: Date: Thu, 29 May 2003 16:25:58 +0000
Subject: Re: easy conversion to a date?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-149451@lists.php.net to get a copy of this message
Anthony, I believe that what you are looking for is the following: http://www.php.net/strtotime Jordan 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? Thanks for your help - Anthony


« previous php.general (#149451) next »