I have a multilingual ASP.NET site; one of the languages is Arabic (ar-SA). To switch between cultures, I use this code:
Thread.CurrentThread.CurrentCulture = CultureInfo.CreateSpecificCulture(Name) Thread.CurrentThread.CurrentUICulture = New CultureInfo(Name)
When displaying the date of an article, for example, I just do this, and the localization API takes care of everything:
<%#Eval("DatelineDate","{0:d MMMM yyyy}")%>
The problem is that it displays dates using the Hijiri (Islamic) calendar (for example, 2008 is displayed as 1429). The client wants to display dates using the Gregorian calendar (as before, of course, the names of the month and everything else is in Arabic). How can i do this?
source share