Hi all,
I’m having this error: “If: The DateTime represented by the string is not supported in calendar System.Globalization.GregorianCalendar” in the condition of my if statement which has this code: DateTime.ParseExact(var_currentDeadlineConsultant.ToString.Substring(0,10),“MM/dd/yyyy”,CultureInfo.InvariantCulture)<system.DateTime.Today.AddDays(25)
The “var_currentDeadlineConsultant” is a generic value which derived a date from a datatable field.