Check out example codes for "iso date format c#". It will help you in understanding the concepts better.

Code Example 1

var newTime = theTime.UtcNow.ToString("o");
// returns "2017-06-26T00:00:00.0000000Z"

var newTime2 = theTime.Date.ToUniversalTime().ToString("yyyy-MM-ddTHH:mm:ss.sssZ");
// returns "2017-06-26T00:00:00.00Z"

Learn ReactJs, React Native from akashmittal.com