Working with Data ModelsCreating ModelsModeling MetricsAdd Calculated MetricsMDX ReferenceVBA Date FunctionsYearOn this pageYear Given the input date, returns an integer (0-9999) representing the year. Syntax Year(Date) Parameters Date The date to return the year for. Example The following example returns the year for 2005-10-08: [DateCustom].[DateInt].[YearInt].&[`Year("2005-10-08T12:30:10")`]