It acts similiarly to Excel's DAYS function. It calculates the difference between two dates in days.
Usage
DAYS(start_date, end_date)
Arguments
start_date
Give the start_date argument so it can calculate days.
end_date
Give the end_date argument so it can calculate days.
Value
In this example we are interested how many days there are between 1st February 2020 and 15th February 2020 which is 14. Function will always return numeric class.