Converts an array of .NET DateTime to an aray of numeric date values, as used by Excel.

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 double[] DatesToExcel1d(
	DateTime[] adt
)
Visual Basic (Declaration)
Protected Function DatesToExcel1d ( _
	adt As DateTime() _
) As Double()
Visual C++
protected:
array<double>^ DatesToExcel1d(
	array<DateTime>^ adt
)

Parameters

adt
Type: array< System..::.DateTime >[]()[]
Array of date and time values to be converted to Excel numeric values.

Return Value

An array of numeric values representing each date in Excel.

See Also