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-2024.png

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

Register now!

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
  • 5142 views
  • 12 likes
  • 4 in conversation