How to insert datetime in sql query

You missed the cross-post

i.e. now sans PHP