daysBetween()
The whole days from the first date to the second — negative when the second comes first; a part day does not count.
daysBetween(from: any, to: any) → number
Example
{{ daysBetween("2026-07-21", "2026-08-04") }}Gives 14
Try it with your own values
Expression
{{ daysBetween("2026-07-21", "2026-08-04") }}