OleDateTime.ToString Method (IFormatProvider) | |
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(
provider AS IFormatProvider
) AS STRING
public virtual string ToString(
IFormatProvider provider
)
Request Example
View SourceParameters
- provider
- Type: IFormatProvider
Return Value
Type:
StringA string representation of the value of the current
DateTime object.
Exceptions Exception | Condition |
---|
ArgumentOutOfRangeException | The date and time is outside the range of dates supported by the calendar used by the current culture. |
See Also