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? > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php