Free cookie consent management tool by TermsFeed

days360() Function

Function

days360( start_date, end_date, method )

Returns the number of days between two dates, based on a 360-day calendar.

Parameters

Keyword Type Description

start_date

Date

The starting date.

end_date

Date

The ending date.

method

Integer

1 for European, 0 for US/NASD.

Returns

Integer

Examples

1
days360(today(), today() + 365, 0)

Returns 360.

Feature compatibility

The table below lists this function's compatibility with various features in Appian.
Feature Compatibility Note
Portals Compatible
Offline Mobile Compatible
Sync-Time Custom Record Fields Compatible

Can be used to create a custom record field that only evaluates at sync time.

Real-Time Custom Record Fields Incompatible

Custom record fields that evaluate in real time must be configured using one or more Custom Field functions.

Process Reports Compatible
Process Events Compatible

Feedback