I assume this should be pretty simple, but could not get it :(. In this format Z is time zone. T is long time pattern How could I get a date in this format excep
Single Line code for this.
var temp = DateTime.UtcNow.ToString("yyyy-MM-ddTHH\\:mm\\:ssZ");