System.Globalization.PersianCalendar pc; pc = new System.Globalization.PersianCalendar(); year_label1.Text = pc.GetYear(DateTime.Now).ToString();
GetYear
DateTime
DateTime dt = new DateTime(2013,1,1); System.Globalization.PersianCalendar pc = new System.Globalization.PersianCalendar(); pc.GetYear(dt);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)