how to convert date to Complete ISO-8601 date in c#

42

how to convert date to Complete ISO-8601 date in c# -

string isoFormatDateString = dateTimeObject.ToUniversalTime().ToString("s") + "Z";

Comments

Submit
0 Comments