Display days as years, months and days

I have a column that calculates the time between two dates and shows the number of days.

I would like to be able to show it in year, months, days.

Does anyone have any ideas how I can do this?

1 Like

I’ve made a pack for this!

A few examples that might suit your need:
Delta(Start, End, precision: 3, week: false)
Example: 1 year 3 months 17 days ago

Delta(Start, End, precision: 3, week: false, in_and_ago: false)
Example: 1 year 3 months 17 days

Delta(Start, End, precision: 3, week: false, in_and_ago: false, delimiter: ", ", delimiter_last: " and ")
Example: 1 year, 3 months and 17 days

3 Likes

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.