Skip to main content

hour - script and chart function

This function returns an integer representing the hour when the fraction of the expression is interpreted as a time according to the standard number interpretation.




Return data type: integer

Examples and results:  

Examples and results
Example Result

hour( '09:14:36' )

returns 9

hour( '0.5555' )

returns 13 ( Because 0.5555 = 13:19:55 )

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!

Join the Analytics Modernization Program

Remove banner from view

Modernize without compromising your valuable QlikView apps with the Analytics Modernization Program. Click here for more information or reach out: