System.IConvertible.ToDateTime Method

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

Syntax

public DateTime ToDateTime (IFormatProvider provider)

Parameters

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

Returns

A DateTime instance equivalent to the value of this instance.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0