Date calculations in SAS

前端 未结 3 1330
轮回少年
轮回少年 2020-12-06 09:16

I want to add 1 day to an arbitrary SAS date. I have the following code that works but I wonder wether there is built-in support for date calculations like this:

<         


        
3条回答
  •  星月不相逢
    2020-12-06 09:20

    Dates are just numbers, so to advance the day by one, you just, um, add 1.

    Where did you find that code? Talk about using a sledgehammer to crack a nut...

提交回复
热议问题