TDateTime is a float type - integer part is days, decimal part is fraction
of a day. To express in years, divide the result by the length of a year
(365.25 days). Do not use the decode date function because it is not a date
you are after.

Terry
---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz

Reply via email to