Returns the serial number of a particular date
[C++]
static int Date(
double& ddt,
long year,
long month,
long day
);
static int Date(
long& ldt,
long year,
long month,
long day
);
A reference to a value that will contain a serial date if the function succeeds.
A number between 1900 and 9999.
A positive month number, generally between 1 and 12.
A positive day number, generally between 1 and 31.
A reference to a value that will contain a serial date if the function succeeds.
Zero if the function has been called successfully; non-zero
if the function could not be called.
See Error codes for a list
of return values.
See the Microsoft Excel on-line Help for full details about
this function.
Header: xlfuncs.h