modified date field to be datetime