For some expression in QGIS I need to get the number of days between two dates as numeric value.
If I substract two dates I get an interval back:
to_date('2019-12-31') - to_date('2019-01-01')
<interval: 364 days>
I get the same return type from the
Is there a straightforward approach to get the number of days as numeric value?
I am not looking for solutions that involve converting to epoch and doing my own math nor for solutions that rely on string parsing. I am looking for an built-in approach that I might be overlooking.