BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
Saurabh_Rana
Obsidian | Level 7

I have a date column like this -

 

Joining Date

03/01/2020

24/09/2020

25/07/2019 

 

I want to derive the last date for the whole column like this - 

 

31/01/2020

30/09/2020

31/07/2019 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
ChrisNZ
Tourmaline | Level 20
DATE2=intnx('month',DATE,0,'e');

Post title corrected it is meaningless as written.

View solution in original post

1 REPLY 1
ChrisNZ
Tourmaline | Level 20
DATE2=intnx('month',DATE,0,'e');

Post title corrected it is meaningless as written.

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 5444 views
  • 1 like
  • 2 in conversation