Returns the hour for a particular date value
[C++]
static int Hour(
double& dhour,
double serial_number
);
static int Hour(
long& lhour,
double serial_number
);
static int Hour(
short int& shhour,
double serial_number
);
A reference to a value that will contain an hour value (between 0 and 23) if the function succeeds.
An Excel date/time value. The date (integer) part will be ignored.
A reference to a value that will contain an hour value (between 0 and 23) if the function succeeds.
A reference to a value that will contain an hour value (between 0 and 23) 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