Change Datetime type