I would like to add that if you just want the years try

Set v age to (((jdate(.#date))-(jdate(.vbirthday)))/1000)

Regards, 
Dave Fitts
State of Maine
Risk Management

-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Fitts,
David A.
Sent: Friday, November 07, 2008 11:31 AM
To: RBASE-L Mailing List
Subject: [RBASE-L] - RE: Calculating a persons age.

Can I suggest something like 

Set v age to ((jdate(.#date))-(jdate(.vbirthday)))

This returns the age in YYDDD format so that you know how many years and
days old the person is.

Regards, 
Dave Fitts
State of Maine
Risk Management

-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Gray,
Damon
Sent: Friday, November 07, 2008 10:33 AM
To: RBASE-L Mailing List
Subject: [RBASE-L] - Calculating a persons age.

In the absence of a DATEDIFF function, is there a function in RBase
6.5++ that will allow me to calculate an employee's age from their date
of birth and .#DATE, or do I need to code this up?

 

 

Damon J. Gray

Business System Services

Anvil Corporation

(360) 937-0770

 


Reply via email to