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

You can experiment with this function in the test box below.

Test Input

days360(today(), today() + 365, 0) returns 360

Open in Github Built: Mon, Nov 15, 2021 (03:03:53 PM)

On This Page

FEEDBACK