Days360 function
Syntax
Days360(date_val1, date_val2)
Description
Use the Days360 function to return the number of days between the Date values date_val1 and date_val2 using a 360-day year (twelve 30-day months). Use this function to help compute payments if your accounting system is based on twelve 30-day months.
If date_val2 occurs before date_val1, Days360 returns a negative number.
Example
The following example sets &NUMDAYS to the number of days between TERM_START_DT and PMT_DT based on a 360-day calendar:
&NUMDAYS = Days360(TERM_START_DT, PMT_DT);