Possible data truncation on output parameter, "%1!d!". The task cannot determine the datetime type of the output parameter ...

Possible data truncation on output parameter, "%1!d!". The task cannot determine the datetime type of the output parameter because the BypassPrepare property is set to True. If the output parameter type is datetime2, use a string variable instead of a datetime variable for the output parameter to prevent truncation. To allow the task to determine the output parameter type in the future, set BypassPrepare to False.