Hi everyone.
I'm currently trying to evaluate the current date and a date property however, when I try do parse the string provided by getProperty, it gives me the error:
String was not recognized as a valid DateTime.
I can confirm the property is of the Type: Date and Pattern: Short Date.
My relevant code:
for (int i = 0; i < this.getItemCount(); i++) { Item thisItem = this.getItemByIndex(i); string dateStr1 = thisItem.getProperty("_calibrated_next",""); DateTime date1 = DateTime.Parse(dateStr1); }
The only thing that I can think of that may cause this error is the date format conversion when localized from neutral UTC, but I couldn't find much in the Aras documentation related to this.
Thanks