hi,
I have date variable and want to increase to one day further.
date:
09/07/2020
03/10/2020
01/06/2020
08/09/2020
04/04/2020
I want the date increased to one day:
date
09/08/2020
01/07/2020
08/10/2020
04/05/2020
can I do this in sas?
Since SAS dates are counts of days, just add 1.
If these are not yet SAS dates, convert them three days before yesterday. Date- or time-related values should (IMO, must) always be stored as such.
View solution in original post
Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.Sign up by Dec. 31 to get the 2024 rate of just $495.Register now!
SAS' Charu Shankar shares her PROC SQL expertise by showing you how to master the WHERE clause using real winter weather data.
Find more tutorials on the SAS Users YouTube channel.