days360() Function

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

Syntax

days360( start_date, end_date, method )

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

FEEDBACK