Hi,
I want to put hour and minute of the time 20 second before current time into macro variable.
The code below might convey my idea better.
Can you please help?
Thanks,
HHC
%let now=%sysfunc(time() MINUS 20 SECOND);
%let hh=%sysfunc(hour(&now),z2.);
%let mm=%sysfunc(minute(&now),z2.);
%put &hh &mm;