Click or drag to resize

OleDateTime.ToString Method

X#
Converts the value of the current DateTime object to its equivalent string representation using the formatting conventions of the current culture.

Namespace:  XSharp
Assembly:  XSharp.VO (in XSharp.VO.dll) Version: 2.19
Syntax
 VIRTUAL METHOD ToString() AS STRING
Request Example View Source

Return Value

Type: String
A string representation of the value of the current DateTime object.
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionThe date and time is outside the range of dates supported by the calendar used by the current culture.
See Also