Page 2 of 2

Posted: Sun Aug 19, 2012 4:54 am
by ArndW
By doing an integer division of the days by 30 you will get months. It really depends upon the application whether this is "good enough", otherwise one would need to extract the year(s) and month(s) from both variables and perform computations on those values, i.e. "((year2*12)+month2)-((year1*12)+month1)" to get an exact number. That is a lot of conversions to do if it can be with just the DaysSinceFromDate() function.

Posted: Sun Aug 19, 2012 8:27 am
by bhasds
Thanks a lot ArndW.

Posted: Sun Aug 19, 2012 8:42 am
by chulett
That advice looks familiar. :wink: