I want to convert only 4 digit character year into numeric.
If I have year value 1961 then numeric value should 365. as 1960 is starting year for SAS.
I have use var=input(year,8.) but numeric result is coming 1961 instead of 365 day.
Let me know is there YEAR in format is there in SAS?