Hey.

Im having some trouble varifying the date a user puts in. the way i made my site is:

The user types a date into 3 different form inputs day, month and year.

these are then put through the checkdate() function. Say all is correct, $deadline_date becomes that date i just varified. It then get put into a database. The problem comes when the user wants to edit the date he has entered, because the checkdate() function requires ($month, $day, $year), but all ive got is $deadline_date.

How can i take the parts back out of the $deadline_date, so it can become $month $day and $year again?
PS. If you can tell me what the word to use in the topic is ill change it :P

thanks, Cobra