c# convert iso date string to datetime 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";