Top  Previous  Next

minutes(value, round(optional boolean))


The minutes function accepts a decimal value (measured in hours) and returns the number of whole minutes. The round parameter is optional (defaults to true for minutes) and determines if the number of minutes is rounded.


minutes(4.5) will return 30

minutes(4.67773,1) will return 40 (truncated to a whole number of minutes)

minutes(4.67773) will return 41 (rounded by default)


The minutes function is normally used with the hours function and the seconds function.


The minutes function is also useful for situations involving degrees, minutes and seconds of arc