Hi Guys,
Below is the code to get first and last dates in a month in Ax
//First date of a month.
info(strfmt('First date of this month is %1', mkdate(1,mthofyr(today()),year(today()))));
//Last date of amonth..
info(strfmt('Last date of this month is %1', endmth(today())));
Below is the code to get first and last dates in a month in Ax
//First date of a month.
info(strfmt('First date of this month is %1', mkdate(1,mthofyr(today()),year(today()))));
//Last date of amonth..
info(strfmt('Last date of this month is %1', endmth(today())));
No comments:
Post a Comment