Minute: Difference between revisions

From NSB App Studio
Jump to navigation Jump to search
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..."
 
Brendon (talk | contribs)
No edit summary
Line 1: Line 1:
MINUTE(''time'')
Minute(''time'')


'''Description'''
== 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.
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'''
== Example ==


<pre>
<pre>
REM MINUTE Example
Rem Minute Example
'MINUTE returns minute of hour from a time
'Minute returns minute of hour from a time
DIM When
Dim When
When = NOW
When = Now
PRINT "The MINUTE of " & When & " is " _
Print "The Minute of " & When & " is " _
       & MINUTE(When)
       & Minute(When)
</pre>
</pre>


'''Output'''
== Output ==


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


'''Related Items'''
== Related Items ==


[[day|DAY]], [[hour|HOUR]], [[month|MONTH]], [[now|NOW]], [[second|SECOND]], [[time|TIME]], [[year|YEAR]]
[[day|DAY]], [[hour|HOUR]], [[month|MONTH]], [[now|NOW]], [[second|SECOND]], [[time|TIME]], [[year|YEAR]]
[[Category:Language Reference]]

Revision as of 02:14, 17 August 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