Minute

From NSB App Studio
Revision as of 17:47, 8 July 2012 by Brendon (talk | contribs) (Created page with "MINUTE(''time'') '''Description''' MINUTE returns a whole number ranging from 0 to 59 that represents the minute of the hour, of a given time. The required parameter, ''time...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

MINUTE(time)

Description

MINUTE returns a whole number ranging from 0 to 59 that represents the minute of the hour, of a given time. The required parameter, time, can be any numeric or string expression, or any expression that represents a time.

Example

REM MINUTE Example
'MINUTE returns minute of hour from a time
DIM When
When = NOW
PRINT "The MINUTE of " & When & " is " _
       & MINUTE(When)

Output

The MINUTE of 8/18/1998 10:52:44 PM is 52
(sample date output is system dependant)

Related Items

DAY, HOUR, MONTH, NOW, SECOND, TIME, YEAR