LinkedIn

Wednesday, 3 December 2008

Convert a c# datetime to the XML format


XmlConvert.ToString(DateTime.Now, "yyyy-MM-ddTHH:mm:ss")