3.5.1.2.6 Minute


Description

Returns the minutes as an integer, ranging from 0 to 59.


See this note.

Syntax

int Minute(double d)

Parameters

d

Julian-date value, which can include time

Return

If input is a valid Julian-date value, return the integer value of minute, from 0 to 59.

If input is not a valid Julian-date value, return -1.

Example

int aa = Minute(0.6997854);
aa = ;//Should return the minute of this time, 47.
int bb = Minute(2454827.5982639);
bb = ; //Should return the minute of this time, 21.

See Also

Year, Month, Day, Hour, Second, Now