Datatype changes in a date field