XLL+ Class Library (6.3)

CXlFuncs::Time

Returns the serial number of a particular time

static int Time(
   double& ddt,
   long hour,
   long minute,
   long second
);

Parameters

ddt

A reference to a value that will contain a serial time if the function succeeds.

hour

A number between 0 and 23.

minute

A number between 0 and 59.

second

A number between 0 and 59.

Return Value

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.

Remarks

See the Microsoft Excel on-line Help for full details about this function.

Requirements

Header: xlfuncs.h

See Also

CXlFuncs Class | CXlFuncs Methods