Data ModelingFunction ListhourOn this pagehourExtracts the hour from a datetime value. Syntax hour(<date>) ParameterTypeDescriptiondateDateThe date value to process. Return values Integer Usage Extracts the hour from the order creation datetime. hour(orders.created_at) Related functions weekday year month day