days_between
function returns the number of days between date1 and date2.
Syntax
days_between(date1, date2)
Parameters
date1
and date2
should be in the following format: (year, month, day)
Examples
days_between(date(2020, 12, 25), date(2020, 12, 30))
returns -5