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
SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!
Save the date!
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.