Mono Class Library: System.Xml.XmlConvert Overview | Members

System.Xml.XmlConvert.ToString Method

Converts a DateTime to a string . [Edit]

public static string ToString (DateTime value, string format)

Parameters

value
The DateTime to convert. [Edit]
format
A string specifying the format to apply to value. Valid formats include "yyyy-MM-ddTHH:mm:sszzzzzz" and its subsets. [Edit]
format
Documentation for this section has not yet been entered. [Edit]

Returns

The string representation of value in the specified format.. [Edit]

Remarks

This method calls value.ToString(format, System.Globalization.DateTimeFormatInfo.InvariantInfo). [Edit]

Requirements

Namespace: System.Xml
Assembly: System.Xml (in System.Xml.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0