XLL+ Class Library

::XlNow

Get the current time

[C++]
int XlNow(
   double* t
);

Parameters

t

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

Return value

1 if the function succeeds; 0 if it fails

Remarks

This function calls Excel's NOW() function.

Requirements

Header: xlldate.h

See Also

Global date functions