years(
DAYS
)

The years( function converts a number of days into a number of years.


Parameters

This function has one parameter:

days – number of days.


Description

This function converts a number of days into a number of years.

years(date("12/9/2013")-date("8/3/1926")) ☞ 87

Note: This function is not 100% accurate to the day, it assumes that each year is 365¼ days long.

Note: This function is equivalent to:

int(float(daycount)/float(365.25))

See Also


History

VersionStatusNotes
10.0No ChangeCarried over from Panorama 6.0.