What's the DateTime format "2011-09-12T10:28:55Z"
?
How can I get it using ToString()?
I didn't get any information in Microsoft's documents about it. Nothing similar like this.
相关问题
- Sorting 3 numbers without branching [closed]
- Graphics.DrawImage() - Throws out of memory except
- Generic Generics in Managed C++
- Why am I getting UnauthorizedAccessException on th
- 求获取指定qq 资料的方法
You can get that using ToString with:
I don't believe there's a standard date/time format which covers this, unfortunately.
Of course, if it's not already a UTC date/time then it'll be lying (that's what the 'Z' bit means). You can call
DateTime.ToUniversalTime()
to convert it, of course.