Fixed Given a DateTime object, how do I get a ISO 8601 date in string format? #dev #it #asnwer
Fixed Given a DateTime object, how do I get a ISO 8601 date in string format? #dev #it #asnwer
Given a DateTime object, how do I get a ISO 8601 date in string format?
Given:
DateTime.UtcNow
How do I get a string which represents the same value in an ISO 8601 compliant format?
Note that ISO 8601 defines a number of similar formats: The specific format I am looking for is:
yyyy-MM-ddTHH:mm:ssZ
Answer: Given a DateTime object, how do I get a ISO 8601 date in string format?
Most of these…
View On WordPress











