endMth Function [AX 2012]

Updated: November 24, 2009

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

Calculates the last date in the month of the specified date.


date endMth(date date)

Parameter

Description

date

A date value that indicates a year, month, and day.

The date value of the last day in the specified month.

  • endMth(02\02\1988); //Returns the date 29\02\1988 because 1988 is a leap year.

  • endMth(02\02\1989); //Returns the date 28\02\1989.


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

Community Additions

ADD
Show: