New in Formulas 2.0
The dateRange()
function returns a date range constructed from a start and an end date.
dateRange(startDate, endDate)
startDate.dateRange(endDate)
Code language: JavaScript (javascript)
Example Formulas
dateRange(parseDate("2023"), parseDate("2023-02"))
/* Output: @January 1, 2023 → @February 1, 2023 */
Code language: JavaScript (javascript)