I have a question about date formats.
I have a variable called date in which the year and month of cost data was stored. For example, if date=200601 that means January of 2006. So, the first 4 numbers represent year and the last 2 represent month.
I want SAS to understand that this is a date and represents Year-Month but I'm not quite sure how to do so? I think utimately I'd like for these values to be formatted so that they appear as JAN2006 (instead of 200601). I'm not quite sure how to do this though.
Thanks!
I have a variable called date in which the year and month of cost data was stored. For example, if date=200601 that means January of 2006. So, the first 4 numbers represent year and the last 2 represent month.
I want SAS to understand that this is a date and represents Year-Month but I'm not quite sure how to do so? I think utimately I'd like for these values to be formatted so that they appear as JAN2006 (instead of 200601). I'm not quite sure how to do this though.
Thanks!