NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

XmlString.FromDate

Converts a date value to a string.

[Visual Basic]
Public Shared Function FromDate( _
   ByVal value As DateTime _
) As String
[C#]
public static string FromDate(
   DateTime value
);
[C++]
public: static String* FromDate(
   DateTime value
);
[JScript]
public static function FromDate(
   value : DateTime
) : String;

Parameters

value
The date value to convert.

Return Value

A string of the form YYYY-MM-DD, where YYYY is the year (0001-9999), MM is the month (01-12), and DD is the day (01-31).

See Also

XmlString Class | XmlString Members | System.Xml Namespace | ToDate