Skip to content

DaysOfYear

Description

DaysOfYear returns the total number of days in the year of the specified date.

Syntax

DaysOfYear(date)

Parameters

Parameter Required Type Description
date Yes Date, field, or expression Date to evaluate.

Notes

Use this function in calculated fields, metric expressions, or query expressions where the function category is supported.

Example

DaysOfYear(OrderDate)

The expression returns the calculated result according to the current query context.