G
Guest
Hi
I'm using asp.net , visual studio.NET 2003 , c#.
I have a problem that occurred only on my computer And not on other
developer's computers.
My CultureInfo.CurrentCulture is "he-IL"
But when I'm using :
DateTime.Now.ToShortDateString() (my short date format is dd/mm/yyyy)
The function return every time a different date like "06/25/2004)
even that the current date is "06/12/2004"
Also, when I'm using DateTime.Parse("05/05/05")
I'm getting the following error :
System.SystemException {"Could not determine the order of year, month, and
date from dd/mm/yyyy."}
Thanks,
Danny
I'm using asp.net , visual studio.NET 2003 , c#.
I have a problem that occurred only on my computer And not on other
developer's computers.
My CultureInfo.CurrentCulture is "he-IL"
But when I'm using :
DateTime.Now.ToShortDateString() (my short date format is dd/mm/yyyy)
The function return every time a different date like "06/25/2004)
even that the current date is "06/12/2004"
Also, when I'm using DateTime.Parse("05/05/05")
I'm getting the following error :
System.SystemException {"Could not determine the order of year, month, and
date from dd/mm/yyyy."}
Thanks,
Danny