Improved the attribute types for the date and time field types to ensure...

... the correct way to store the dates