minutes Function

Function:

Returns the minutes value for given minutes number.

Syntax:

minutes(mincount as word) as byte

Returns:

Minutes in the 0-59 range.

See Also:

year, month, date, weekday, daycount, hours, mincount


Part

Description

mincount

The number of minutes elapsed since midnight (00:00 is minute #0).


Details

If a value higher than 1439 is supplied, this call will return 255. This error value cannot be confused with valid output since normal minutes value cannot exceed 59.


Examples

Tibbo BASIC
b = minutes(61) ' result will be 1 - this is the time 01:01.

minutes Function

Details

Examples