XLL+ Class Library

CXlFuncs::Minute

Returns the minute for a particular date value

[C++]
static int Minute(
   double& dminute,
   double serial_number
);
static int Minute(
   long& lminute,
   double serial_number
);
static int Minute(
   short int& shminute,
   double serial_number
);

Parameters

dminute

A reference to a value that will contain an minute value (between 0 and 59) if the function succeeds.

serial_number

An Excel date/time value. The date (integer) part will be ignored.

lminute

A reference to a value that will contain an minute value (between 0 and 59) if the function succeeds.

shminute

A reference to a value that will contain an minute value (between 0 and 59) if the function succeeds.

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