Hi I'm trying to create a new variable using a month and year variable. I believe I should use the format Monyy7. but I am not sure what function to use. Typically I would use MDY ( Month, Day, Year).... but I do not have the day so I am a bit stumpped especially since MY (Month, year) does not work. See the example below.... data female; data female; date = MDY (Month, day, year); --------> ????date = MY (month, year)????? format Date monyy7.; format Date monyy7.; run; run; Please help!!!
... View more