Converts a numeric date value used by Excel to a .NET DateTime.
Namespace:
XllPlus.ComWrappers.RuntimeAssembly: XllPlus.ComWrappers.Runtime (in XllPlus.ComWrappers.Runtime.dll) Version: 6.3.4.831 (6.3.4.0831)
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.