Is it possible to use the command ceil on a time format variable such as 09:31:23? I would like to use ceil to have 09:32:00. I tried to use something similar to round(time,'0:01:00'T) but I want to use ceil since I don’t want to round. Use the round will give me 09:31:00.
I tried to use ceil instead of round but it doesn’t work.
Is it possible to use the command ceil on a time format variable such
Share
Since SAS time is actually a number of seconds since midnight, CEIL will give you start of next second.
To get start of next minute, use INTNX function.