MoneyToDateTime Method

Converts the value of this instance to an equivalent DateTime using the specified culture-specific formatting information.

Definition

Namespace: InnerDrive.Financial
Assembly: InnerDrive.Financial (in InnerDrive.Financial.dll) Version: 5.2.9417.0
C#
public DateTime ToDateTime(
	IFormatProvider? provider
)

Parameters

provider  IFormatProvider
An IFormatProvider interface implementation that supplies culture-specific formatting information.

Return Value

DateTime
A DateTime instance equivalent to the value of this instance.

Implements

IConvertibleToDateTime(IFormatProvider)

Exceptions

InvalidCastExceptionThis conversion is not supported for Decimal.

See Also