how to convert date string to iso dat in 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";