Hi Petric and Nitesh
I have seen one function i.e. intvno()
on intvsacle:: month u pl check it, It can solve ur problem .
Rgrds
Hitesh
- Original Message
From: Nitesh <[EMAIL PROTECTED]>
To: Axapta-Knowledge-Village@yahoogroups.com
Sent: Friday, November 24, 2006 4:54:04 PM
Subject: Re: [Axapta-Knowledge-Village] Date difference
Hi Patric,
With the help of function yearDiffiff () u can get the
diff in year but there is no such function exist which calculate the
difference of two dates in months.U have to write ur own method :
int daysCount;
;
daysCount =(this.endDate - this.startDate) /365;
return ((this.endDate - this.startDate) -(daysCount *365))/30;
return type of this method is *integer*
Regards
Nitesh
On 11/24/06, chuapatrickd wrote:
>
> Hi,
>
> Is there a functin in AX where it will compute for date difference.
> Ex. Date1 = '01-01-2006' , Date2= '06-20-2006'
> Datediff in months should be 6.
>
> Any help will be greatly appreciated.
>
> Thanks,
> Patrick
>
>
>
[Non-text portions of this message have been removed]
Want to start your own business?
Learn how on Yahoo! Small Business.
http://smallbusiness.yahoo.com/r-index
[Non-text portions of this message have been removed]