Hi everyone,
I would like to ask you how can I keep the last 4 digits of the variable date. It is a numeric variable.


It is shown as
07jan1986
04dec1986
10mar1987
09jan1986
22nov1993
10jun2004
19oct2004
27dec2004
05feb2008
05mar2008
04aug2009
18dec2009
and my aim is to keep just the year, such as for example 1986, 1987..

Thank you in advance

Beatrice