Thank you very much for helping me understand this issue. It was the floating point returned by %sysfunc(&ThisTime) that confused me. It could not be resolved by the %eval since this only handles integers. %Let TheDate= %Sysevalf('29NOV2015'd); %Let ThisDay = TODAY(); %Put TheDate is &TheDate and ThisDay is &ThisDay and the diff is %EvAL((&TheDate) - %SYSFUNC(&ThisDay)); %Let TheTime = %Sysevalf('23:49:02't); %Let ThisTime = Time(); %Put TheTime is &TheTime and ThisTime is &ThisTime or %SYSFUNC(&ThisTime) and the diff is %SYSEVALF(%SYSEVALF(&TheTime) - %sysfunc(&ThisTime)); Thank you.
... View more