XLL+ Class Library (6.3)

ple::clr::toClrDates

Transform an array of Excel date values to a CLR DateTime array

array<System::DateTime>^ toClrDates(
   std::vector<double>& tvec
);
array<System::DateTime>^ toClrDates(
   std::vector<long>& dvec
);
array<System::DateTime, 2>^ toClrDates(
   ple::mtx_ptrs<double>& tmat
);
array<System::DateTime, 2>^ toClrDates(
   ple::mtx_ptrs<double>& dmat
);

Parameters

tvec

A vector of numeric date/time values received from Excel.

dvec

A vector of integer date values received from Excel.

tmat

A matrix of numeric date/time values received from Excel.

dmat

A matrix of integer date values received from Excel.

Return Value

A CLR object, that may be passed directly to a .NET method, using C++/CLI.

Requirements

Header: xlpclrconvert.h

See Also

Common Language Runtime support functions | toClr | toClrDate