Dates have had me utterly mystified...I'm surprised I've been able to do as much as I have over the last few months because many of my tables and forms have required dates.
Anyway, this discussion really helped a lot. I have been trying to build an online calendar with a form that would allow users to update their schedules and simply could not get the date back into a form that the Update query would accept (the query ran, but the resulting value that ended up in the table was always "0000-00-00"
I was able to pare the code from the previous message down to this:
$formDATE = $HTTP_POST_VARS[formDATE];
$stamp = strtotime ($formDATE);
$xDATE = date ("Ymd",$stamp);
Using the resulting $xDATE in the update query did the trick! Thanks so much...I've been fooling around with this all day.