c# convert date to iso 8601 string code example
Example: how to convert date to Complete ISO-8601 date in c#
string isoFormatDateString = dateTimeObject.ToUniversalTime().ToString("s") + "Z";
string isoFormatDateString = dateTimeObject.ToUniversalTime().ToString("s") + "Z";