我想知道是否有办法从给定的日期字符串中提取 DateTime 格式。在 C# 中例如:var dateString = "12/10/2018";var format = GetDateFormat(dateString);然后格式将像“长日期时间”之类的。 查看完整描述