Tuesday, March 31, 2015

passing C# DateTime types in XML

var x = DateTime.Now.ToString("o");

...in C# is going have a shape like 2013-01-13T04:47:34.7559072Z which is how DateTime values should be passed in XML.

No comments:

Post a Comment