Dear All, How can I extract year (Stata format) from the following variable?
Code:
* Example generated by -dataex-. To install: ssc install dataex
clear
input str9 date
"28-Jun-95"
"29-Jun-99"
"30-Jun-00"
"1-Jul-05" 
"2-Jul-15" 
end
Thanks in advance.