Fixed date-time issue for insertion of quizzes or histories in the DAL.
So sorting of histories and quizzes by creation date/when they were
taken should work properly now.
merge