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!

DateTime.ToLongDateString

Converts the date value of this instance to a String.

[Visual Basic]
Public Function ToLongDateString() As String
[C#]
public string ToLongDateString();
[C++]
public: String* ToLongDateString();
[JScript]
public function ToLongDateString() : String;

Return Value

A string value containing the date that this instance represents.

Remarks

The ToLongDateString method converts the date value to a string value, then the format of the return value is determined by the InvariantCulture. The format is "day, month dd, yyyy", where:

To Format a DateTime using the CurrentCulture, use Format

See Also

DateTime Structure | DateTime Members | System Namespace | String | CultureInfo | Calendar | DateTimeFormat | DateTimeFormatInfo