Description
Gets the current hour of the day.
Returns
Ordinal value of the hour, in the range 0-23.
Gets the current hour of the day.
Ordinal value of the hour, in the range 0-23.
Hour(date)
<!--- This example shows the use of Hour, Minute, and Second ---> <h3>Hour 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>