Fixed Inserting and Updating DateTime types

Changed to use the universal format of YYYY-MM-DDTHH:MM:SS.