XLL+ Class Library

::XlToday

Get today's date

[C++]
int XlToday(
   long* date
);

Parameters

date

Pointer to a variable which will be filled with a serial date value (as used by Excel).

Return value

1 if the function succeeds; 0 if it fails

Remarks

This function calls Excel's TODAY() function.

Requirements

Header: xlldate.h

See Also

Global date functions