Skip to content

TotalDaysOfYear

Description

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

Syntax

TotalDaysOfYear(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

TotalDaysOfYear(OrderDate)

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