After quite a bit of trial and error I realized that I also need to update the update behavior to allow the insert in that format. I was unable to do with the date format but this seems to work. It will work 4/5/22. Obviously ignoring the hour, minute, second.
Do you have a better solution?
$UpdateQuery->bindColumn("eventdate", "t", "".((isset($_POST["eventdate"]) && $_POST["eventdate"]!="" )?date("Y-m-d H:i:s", strtotime($_POST["eventdate"])):"") ."", "WA_DEFAULT");
$UpdateQuery->bindColumn("enddate", "t", "".((isset($_POST["enddate"]) && $_POST["enddate"]!="" )?date("Y-m-d H:i:s", strtotime($_POST["enddate"])):"") ."", "WA_DEFAULT");
This did not work
$UpdateQuery->bindColumn("enddate", "t", "".((isset($_POST["enddate"]) && $_POST["enddate"]!="" )?date("m-d-Y", strtotime($_POST["enddate"])):"") ."", "WA_DEFAULT");