Minute: Difference between revisions

From NSB App Studio
Jump to navigation Jump to search
Brendon (talk | contribs)
No edit summary
No edit summary
Line 28: Line 28:


[[Category:Language Reference]]
[[Category:Language Reference]]
[[Category:Date and Time]]

Revision as of 18:32, 13 September 2012

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