Fixing date time field.