I have partial date values in the format yyyy-mm in a variable and I have to change it to mmmyyyy format.
Kindly suggest your solutions
Add a -01 to the short strings, so you get a complete date, and then do a put(input)) with the proper formats.
Add a -01 to the short strings, so you get a complete date, and then do a put(input)) with the proper formats.
SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!
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.
Ready to level-up your skills? Choose your own adventure.