Quantcast
Channel: Microsoft Dynamics 365 Community
Viewing all articles
Browse latest Browse all 17314

Number of months between two dates in Dynamics ax 2012

$
0
0
Recently I got a situation where I need to calculate the number of months between 2 dates, I found a built in method in dynamics ax 2012 that can be used. noOfIntervals = intvNo(refDate, inputDate, intvScale::Month); intvScale enumation have two values for months ◾Month ◾YearMonth If we provide the intvScale::Month then X++ ignores the year and assumes that month is calculated within one year. If we provide the intvScale::YearMonth then X++ calculate the number of months between different...(read more)

Viewing all articles
Browse latest Browse all 17314

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>