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.
It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.
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.