Skip to main content
Version: I2024.1.3

PrevYearStartDate

Given the input date, returns a date representing the first day of the previous Gregorian calendar year.

Syntax

PrevYearStartDate(Date)

Parameters

Date
The date to return the previous year's start date for.

Example

The following expression returns the start date of the year before 2008-06-09 occurred:

[DateCustom].[StandardWeek].[Year].&[`PrevYearStartDate("2008-06-09T10:30:12")`]