I have code like belowe :
set
{
iDate = (DateTime.Parse(value).ToPersianDateString());
}
ToPersianDateString
is a Extension method to convert 2016
to 1395
e.x.
this code work very well but in windows 10, below code , retrun an exception
DateTime.Parse(value)
my value is : Aug 31 2016 12:00AM
Exception message is : String was not recognized as a valid DateTime.
why it return error ?
I think problem is Aug
.