I want to create a table that has all the HH:MM possible for the day (ie, 00:00, 00:01, 00:02, .... 23:58, 23:59). I do not know how to do this. I have searched for a solution but I cannot find one.
DATA TIMES;
HHMM = '00:00't;
DO i=0 to 1439
HHMM = HHMM + 1 minute < I don't know how to do this
output;
END;
Can someone tell me how to do this/
Thanks.
Sandy
Thanks. That worked.
Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.