year Function [AX 2012]

Updated: November 24, 2009

Applies To: Microsoft Dynamics AX 2012 R2, Microsoft Dynamics AX 2012 Feature Pack, Microsoft Dynamics AX 2012

Retrieves the year from a date value.


int year(date _date)

Parameter

Description

_date

The date from which to return the year.

The year of the specified date.

  • year(02\02\1998); //Returns the value 1998.


Announcements: To see known issues and recent fixes, use Issue search in Microsoft Dynamics Lifecycle Services (LCS).

Community Additions

ADD
Show: