BookmarkSubscribeRSS Feed
madix
Obsidian | Level 7

I don't understand this part:

do mydate = today() - 20 to today();

why do we use this?

 

should I replace today() by something?

Kurt_Bremser
Super User

@madix wrote:

I don't understand this part:

do mydate = today() - 20 to today();

why do we use this?

 

should I replace today() by something?



I just created 20 dates for testing, that's all.

madix
Obsidian | Level 7

my date is taking many year like 2000 to 2017 by the way

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

How to Concatenate Values

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 17 replies
  • 6139 views
  • 12 likes
  • 4 in conversation