[Axapta-Knowledge-Village] Re: Date difference

2006-12-04 Thread chuapatrickd
--- In Axapta-Knowledge-Village@yahoogroups.com, hitesh gupta <[EMAIL PROTECTED]> wrote: HI Hitesh, I've check this function but I can't fully understand how to use it. Anyway, I just write my function to compute for the difference in months. Thanks also to you NItesh for the codes, I've used

[Axapta-Knowledge-Village] Re: Date difference

2006-11-23 Thread chuapatrickd
Hi, I have found the answer in one of the post from arav. Thanks for arav, this is exactly what I need.:) Pls see below: you can also try this function and see. it will also work. (year(date2)*12+mthofyr(date2)) - (year(date1)*12+mtofyr(date1)) regards, arav --- In Axapta-Knowledge-Vil