System.FormatException

String was not recognized as a valid DateTime.

Solutions on the web9

  • String was not recognized as a valid DateTime.
  • via Google Groups by jeff m, 1 year ago
    Input string was not in a correct format. at System.Number.StringToNumber(String str, NumberStyles options,NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal) at System.Number.ParseInt32(String s, NumberStyles style
  • via Google Groups by ClearSense, 1 year ago
    Input string was not in a correct format. at System.Number.ParseInt64(String s, NumberStyles style,NumberFormatInfo info) at System.Int64.Parse(String s, NumberStyles style, IFormatProviderprovider) at System.Xml.XmlConvert.ToInt64(String s
  • Stack trace

    • System.FormatException: String was not recognized as a valid DateTime. at System.DateTimeParse.ParseExact(System.String_s__System.String_format__System.Globalization.DateTimeFormatInfo_dtfi__DateTimeStyles_style.args:1337) at System.DateTime.ParseExact(System.String_s__System.String_format__IFormatProvider_provider.args:1337) at com.myapp.alpha.Parse.Internal.ParseDecoder.ParseDate(System.String_input.args:1337)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You are the first who have seen this exception. Write a tip to help other users and build your expert profile.