Converts a .NET DateTime to a numeric date value used by Excel.
Namespace:
XllPlus.ComWrappers.RuntimeAssembly: XllPlus.ComWrappers.Runtime (in XllPlus.ComWrappers.Runtime.dll) Version: 6.3.4.831 (6.3.4.0831)
Syntax
C# |
---|
double DateToExcel( DateTime dt ) |
Visual Basic (Declaration) |
---|
Function DateToExcel ( _ dt As DateTime _ ) As Double |
Visual C++ |
---|
double DateToExcel( DateTime dt ) |
Parameters
- dt
- Type: System..::.DateTime
Date and time to be converted to an Excel numeric value.