I want to convert dateTime to the above given format. I tried to look the docs but didnt find much information.
Just pass the format "yyyy-MM-dd'T'HH:mm:ss.fffffff'Z'"
to ToString
string str = DateTime.Now.ToString("yyyy-MM-dd'T'HH:mm:ss.fffffff'Z'");
Collected from the Internet
Please contact [email protected] to delete if infringement.
Comments