change date time fields from String to DateTime type