Minute |
|
 |
Description
|
Extracts the minute value from a date/time object.
|
|
Returns
|
The ordinal value of the minute, in the range 0-59.
|
|
Category
|
Date and time functions
|
|
Function syntax |
Minute(date)
|
|
See also
|
DatePart, Hash, Second
|
|
Parameters
|
|
Parameter |
Description |
date |
A date/time object, in the range 100 AD-9999 AD. |
|
|
Usage
|
When passing a date/time value as a string, you must enclose it in quotation marks. Otherwise, it is interpreted as a number representation of a date/time object.
|
|
Example<h3>Minute Example</h3>
<cfoutput>
The time is currently #TimeFormat(Now())#.
We are in hour #Hour(Now())#, Minute #Minute(Now())#
and Second #Second(Now())# of the day.
</cfoutput>
|