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