Change start and end datetime fields to use database datetime format.