Hi
On below code i am getting above error. Value in sessiondate is 27/12/2021 00:00:00
DateTime sessionDate = DateTime.ParseExact(colum1.SessionDate.ToString(), "dd-MM-yyyy", CultureInfo.InvariantCulture);
Thanks