Calculating age and years of service
fp at mccabes.us
fp at mccabes.us
Sun Oct 19 18:26:36 PDT 2008
Hello,
I am trying to calculate a person's age from their date of birth, also
I am trying to get years of service down to the day. I have the dates
in the filePro file, and I want to base it off of today's date.
If I use something such as "ag=@td-1", I get a number such as 20763.
If I divide by 365, I can get 56.8849135 years, I can use that for the
age. But for years of service I was looking for more data, such as "X
years, Y months, Z days."
Any suggestions would be helpful.
Thanks,
Dan McCabe
More information about the Filepro-list
mailing list