Hi,
Below small code will help to get the number months difference between two dates in ax 2012.
Below small code will help to get the number months difference between two dates in ax 2012.
intvNo(fromDate, toDate, intvScale::Month);
intvScale has many values which can be used to get difference Day, Month, MonthDay, Quarter, Week, WeekDay, Year etc.
No comments:
Post a Comment