OleDateTime.ToString Method (String, 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.21
Syntax VIRTUAL METHOD ToString(
s AS STRING,
fp AS IFormatProvider
) AS STRING
public virtual string ToString(
string s,
IFormatProvider fp
)
Request Example
View SourceParameters
- s
- Type: String
- fp
- 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