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