Create RTO task fixed

Select @RealDate = '1-1-0001';