Class DateTimeExtensions
- Namespace
- Cuemon.Extensions.Xml
- Assembly
- Cuemon.Extensions.Xml.dll
Extension methods for the DateTime struct.
public static class DateTimeExtensions
- Inheritance
-
DateTimeExtensions
Methods
ToString(DateTime, XmlDateTimeSerializationMode)
Converts the specified value
to a String using the serializationMode
specified.
public static string ToString(this DateTime value, XmlDateTimeSerializationMode serializationMode)
Parameters
value
DateTimeThe DateTime value to convert.
serializationMode
XmlDateTimeSerializationModeOne of the XmlDateTimeSerializationMode values that specify how to treat the DateTime
value
.