Bridge

DateTime..::..ToString Method

Converts the value of the current DateTime object to its equivalent string representation.

Namespace:  System
Assembly:  Bridge (in Bridge.dll)

Syntax


[TemplateAttribute]
public string ToString()
<TemplateAttribute> _
Public Function ToString As String
[TemplateAttribute]
public:
String^ ToString()

Return Value

A string representation of the value of the current DateTime object.

Exceptions


ExceptionCondition
System..::..ArgumentOutOfRangeExceptionThe date and time is outside the range of dates supported by the calendar used by the current culture.