SyntaxFix
Write A Post
Hire A Developer
Questions
I was dealing with DateTimeOffset and unfortunately the "o" prints out "+0000" not "Z".
DateTimeOffset
So I ended up with:
dateTimeOffset.UtcDateTime.ToString("o")