简体   繁体   English

解析日期时间(毫秒)

[英]Parsing datetime with millisecond

I am parsing this: 我正在解析:

20/11/2013 9:08:58 603 20/11/2013 9:08:58 603

with this code: 使用此代码:

DateTime.ParseExact(@"20/11/2013 9:08:58 603", @"MM/dd/yyyy h:mm:ss FFF", CultureInfo.InvariantCulture);

Why does it fail ? 为什么会失败?

将格式更改为"dd/MM/yyyy h:mm:ss FFF"

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM