Difference between 2 dates (result exemple 4 months 12 days)

Hello,

I'm working on a little adress book with birthday remaining...

I would like to calculate the number of month (and day) that remains for the birthday of somebody that is stored in my adress book.

For example, if Paul is born October, 1, 1975, i would like to display that is next birthday is in 4 month and 12 days (example).

How can i do that please ?

Thanks

Eviral
France
[442 byte] By [eviral] at [2007-11-18 1:36:06]
# 1 Re: Difference between 2 dates (result exemple 4 months 12 days)
You can use CTime and CTimeSpan classes.
zebbedi at 2007-11-10 8:53:54 >