Minute

 

Description

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


See this note.

Syntax

int Minute(double d[, int elapsed])

Parameters

d

Julian-date value, which can include time

elapsed

Optional argument, 1 to return elapsed time period

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.
double dTime = Time(25:30:21);
Minute(dTime,1) =; //1530

See Also

Year, Month, Day, Hour, Second, Now