Converts a numeric date value used by Excel to a .NET DateTime.

Namespace:  XllPlus.ComWrappers.Runtime
Assembly:  XllPlus.ComWrappers.Runtime (in XllPlus.ComWrappers.Runtime.dll) Version: 7.0.9.1411 (7.0.9.1411)

Syntax

C#
protected DateTime DateFromExcel(
	double d
)
Visual Basic (Declaration)
Protected Function DateFromExcel ( _
	d As Double _
) As DateTime
Visual C++
protected:
DateTime DateFromExcel(
	double d
)

Parameters

d
Type: System..::.Double
An Excel numeric value to be converted to .NET DateTime.

Return Value

A .NET DateTime equivalent to the Excel date/time value.

Remarks

The implementation of this method is delegated to the implementation class instance, as returned by GetImpl.

See Also