@Jack_Smitherson wrote:
Thank you for your response. I do want to run some proc sql later on, so simply formatting the variable is not the most optimal option.
In the first option you gave me "Convert it to a numerical variable, which is basically the year function" - how can I go about applying that to 12 months (i.e. 01Jan2000, 1Feb2000, 01Mar2000, etc.) with five years worth of data? (i.e. 2000-2004; I have a combination of 01Jan2000, 01Jan2001, 01Jan2002, etc.).
Thanks again!
That depends on your data structure.
Use the YEAR() function on the variable to obtain the YEAR.
... View more