如何月份英文缩写字符串转日期
例如:Thu Sep 8 19:45:29 2022
CultureInfo enUS = new CultureInfo("en-US"); string pattern = "ddd MMM d HH:mm:ss yyyy"; DateTime parsedDate = default; if (DateTime.TryParseExact("Thu Sep 8 19:45:29 2022", pattern, enUS, DateTimeStyles.None, out parsedDate))
https://docs.microsoft.com/zh-cn/dotnet/standard/base-types/standard-date-and-time-format-strings#RFC1123
https://docs.microsoft.com/zh-cn/dotnet/api/system.datetime.tryparseexact?view=net-6.0