how to change datetime format with iso standard c# 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";