Change datetime field type