Thanks for the suggestions, I ended up using format when populating the text field value when printed to the page and
date("Y-m-j", strtotime(str_replace('/', '-', $_POST['datetimefield'])));
on inserting data.
Another question, is that safe to use the above code in my query, for other...