XLL+ Class Library (6.3)

CXlFuncs::TimeValue

Returns the serial number of the time represented by date_text

static int TimeValue(
   double& dtime,
   LPCTSTR time_text
);

Parameters

dtime

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

time_text

A string containing a time. Any date portion will be ignored.

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