c# convert date from iso 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";