yearfrac() Function
This function may not be compatible with all features of Appian. For details, see the Feature Compatibility section below.

Function

yearfrac( start_date, end_date, method )

Determine the fraction of the year.

Parameters

Keyword Type Description

start_date

Date

The starting date.

end_date

Date

The endng date.

method

Date

The methodology, where 0 or omitted is US(NASD) 30/360, 1 is Actual/Actual, 2 is Actual/360, 3 is Actual/365, 4 is European 30/360.

Returns

Integer

Examples

yearfrac(today(), today() + 270, 3) returns 0.739726

Feature compatibility

The table below lists this function's compatibility with various features in Appian.
Feature Compatibility Note
Portals Compatible
Offline Mobile Compatible
Custom Record Field Expressions Compatible
Open in Github Built: Thu, Aug 18, 2022 (08:23:12 AM)

On This Page

FEEDBACK