Skip to main content

DATE_LIST

Return a list of dates using the provided options

Example Usage

DATE_LIST(2023-05-01, 2023-05-31,1,0,TransactionDate) // month of may, include weekends, exclude holiday

Overview

Function signature
DATE_LIST(startdate, enddate, includeweekends, includeholidays, fieldname)

Category
Date

Return data type
list

Arguments

NameDataTypeList Options                          Description
startdatedateThe starting date of the range
enddatedateEnd ending date of the range
includeweekendsboolShould weekends be included
includeholidaysboolShould holidays be included
fieldnamestringWhat to call the date field in the result set