This is a mirror of official site: http://jasper-net.blogspot.com/

Hebrew Date by Code

| Sunday, June 19, 2011
הנה קוד להצגת תאריך עברי (מבוסס על המאמר כאן):

DateTime TodayDate = DateTime.Now;
System.Globalization.CultureInfo CultureInfo_ = 
       System.Globalization.CultureInfo.CreateSpecificCulture("he-IL");
CultureInfo_.DateTimeFormat.Calendar = 
                           new System.Globalization.HebrewCalendar();

MessageBox.Show(TodayDate.ToString("dd MMMM y", CultureInfo_)); 

HebrewDate.png

Read more: Dudi Nissan's Blog

Posted via email from Jasper-net

0 comments: