Click or drag to resize

OleDateTime.ToString Method (String, IFormatProvider)

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(
	s AS STRING,
	fp AS IFormatProvider
) AS STRING
Request Example View Source

Parameters

s
Type: String
fp
Type: IFormatProvider

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