Description
Gets the current hour of the day.
Returns
Ordinal value of the hour, in the range 0-23.
Category
Function syntax
Hour(date)
<cfscript> curdatetime = now(); curhour = hour(curdatetime) writeOutput("The current hour is " & curhour & "<br/>"); </cfscript>