Pelegk1,
I do not think it is possible to convert the actual Hebrew string "?"? ???
???"?" to a date. You would need the integral representation of the date,
something parsable by the DateTime type.
If you have the date in this format, try using the opposite of what you have
already:
Dim jewishCulture As CultureInfo =
CultureInfo.CreateSpecificCulture("he-IL")
jewishCulture.DateTimeFormat.Calendar = New HebrewCalendar
Dim dt As DateTime = DateTime.Parse(<date time here>,
jewishCulture.DateTimeFormat)
Hope this helps,
Steve
"pelegk1" <pe*****@discussions.microsoft.comwrote in message
news:72**********************************@microsof t.com...
>i am using this code:
http://weblogs.asp.net/rosherove/arc...13/228688.aspx
i am passing for example 10/03/1975
and i get the hebrew date : "?"? ??? ???"?"
now i want to do the opposite direction which means to give the hebrew
date
andget the gregorian date - how can i do that?
thnaks in advance
peleg