days360
Number of days between two dates using a 360-day year (30-day months).
Syntax
Section titled “Syntax”v = days360(start_date, end_date, method)Description
Section titled “Description”Returns the number of days between two dates using the 30/360 convention common in accounting and bond yield calculations. method = false (default) uses US/NASD method; true uses European method.
Example
Section titled “Example”days360(date(2026,1,1), date(2026,12,31)) % 359