Days2Years Function
Returns the number of Years the specified number of Days represents.

Unit
QESBPCSDateTime

Declaration
Function Days2Years(const Value: Extended): Extended;

Description
Years are based on Tropical Years - see DaysPerTropicalYear.

Parameters
Value Number of Days

Returns
the Number of Years (Tropical)

Category
Date/Time Conversion Routines

Implementation

function Days2Years (const Value: Extended): Extended;
begin
     Result := Value / DaysPerTropicalYear;
End;


HTML generated by Time2HELP
http://www.time2help.com