Date Type error, Date with year 1999 is not working but working on date with year 2000

@Anelisa_Bolosha1

As per message box this is what you need to use

inceptiondt2 = Datetime.ParseExact(inceptiondate,"MM/dd/yyyy HH:mm:ss",System.Globalization.CultureInfo.InvariantCulture).ToString("MM/dd/yyyy")

cheers

1 Like