将字符串转换为dateTime美国
答
你需要使用DateTime.ParseExact()
相关的源语言字符串在CultureInfo的然后。你需要在解析给你的DateTime上打电话.ToString()
,en-us的文化
How to produce localized date string with CultureInfo已经如此我的例子
你到目前为止尝试过什么?请参阅本指南撰写一个很好的问题:https://codeblog.jonskeet.uk/2012/11/24/stack-overflow-question-checklist/ – Graham