>>Hi,
>>
>>
>>In C#, how can I get the month count between two dates.
>>
>>Something like this
>>
>>iMonthCount = dDate1 - Date2 // Result in months
>>
>
>DateTime objects in .NET have a Month property that you can use for this.
>Something like this should help you get started:
>
>int iMonthCount = dDate1.Month - dDate2.Month;
>
>
>Einar
huuummm...
but, if the year is not equal the result is not correct.