I had to use dateTime then get the year. for some reason I was getting empty or null string that stopped the excution of the code. here is what worked:
DateTime Cdate = DateTime.Parse(properties.ListItem["Created"].ToString());
string SDate = Cdate.Year.ToString().Substring(2, 2);