Minute: Difference between revisions
Jump to navigation
Jump to search
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..." |
|||
(5 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
''This function is for BASIC compatibility. It is not available in pure JavaScript projects.'' | |||
'' | Minute(''time'') | ||
== Description == | |||
'''Example | 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 (Basic) == | |||
<pre> | <pre> | ||
Rem Minute Example | |||
' | 'Minute returns minute of hour from a time | ||
Dim When | |||
When = | When = Now | ||
Print "The Minute of " & When & " is " _ | |||
& | & Minute(When) | ||
</pre> | </pre> | ||
== Output == | |||
<pre> | <pre> | ||
The | 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 == | |||
[[day|Day]], [[hour|Hour]], [[month|Month]], [[now|Now]], [[second|Second]], [[time|Time]], [[year|Year]] | |||
[[Category:Language Reference]] | |||
[[Category:Date and Time]] | |||
[[ | [[Category:BASIC Functions]] |
Latest revision as of 15:30, 25 March 2019
This function is for BASIC compatibility. It is not available in pure JavaScript projects.
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 (Basic)
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)