我想知道是否有辦法從給定的日期字符串中提取 DateTime 格式。在 C# 中例如:var dateString = "12/10/2018";var format = GetDateFormat(dateString);然后格式將像“長日期時間”之類的。 查看完整描述