How to put SAS time variable with a leading zero for hours 1-9? - SAS

How to put SAS time variable with a leading zero for hours 1-9?

Use a combination of Z and MMSS formats
Ex: hrprint = hour(sastime);

put hrprint z2. ‘:’ sastime mmss5.;
Explain about INFILE options - SAS
Explain about INFILE options - FLOWOVER is the default option on INFILE statement.....
Explain about PUT statement and give some examples - SAS
PUT statement - PUT is a flexible tool in the data step programmers toolkit......
Post your comment