Parsing a Date Like “Wednesday 13th January 2010” with .NET

前端 未结 7 1703
孤城傲影
孤城傲影 2021-01-07 19:49

How can I convert the following strings to a System.DateTime object?

Wednesday 13th January 2010
Thursday 21st January 2010
Wednesday 3rd February 2010

7条回答
  •  逝去的感伤
    2021-01-07 20:10

    No credit to me but this looks interesting for general DataTime parsing: http://www.codeproject.com/KB/datetime/date_time_parser_cs.aspx?msg=3299749

提交回复
热议问题