【发布时间】:2009-08-17 22:46:05
【问题描述】:
如何使用 C# 将“2009 年 6 月 17 日,美国东部时间下午 3:37”等日期转换为 DateTime 变量?
我已经尝试过DateTime.ParseExact,但我还没有弄清楚要使用的正确格式。
【问题讨论】:
-
我通常在尝试解决这些问题时使用 Chris Sell 的格式设计器或即时窗口-sellsbrothers.com/tools/#FormatDesigner