Subject RE: [ib-support] Difference between two dates
Author Alan McDonald
Helton,
the FreeUDFLib has all you need for this..
look at F_MONTH, F_YEAR, F_DAYOFMONTH..
you use them against a two dates and do a simple subtraction of each return
to give you the three quantities

Alan
-----Original Message-----
From: helton_o [mailto:helton_o@...]
Sent: Thursday, 21 November 2002 23:57
To: ib-support
Subject: RE: [ib-support] Difference between two dates


Hi Alan,

Well, what I really need is the age of some person given his date of birth
and some date.

In your example this person is 3 months and 25 days old...

Helton

>the 3rd of June to the 28th September...
>is that July, August = 2 months
>3-30 June = 27 days
>1-28 Sept = 28 days
>therefore 2 months 56 days????



To unsubscribe from this group, send an email to:
ib-support-unsubscribe@egroups.com



Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.


[Non-text portions of this message have been removed]