In Firebird 3 I can use DATEDIFF()
with either YEAR
, MONTH
or DAY
to get the number of years, months or days respectively.
I need a way to get all-in-one years, months and days.
For example: 412 days should be represented as 1 year, 1 month and 16 days.
Best Answer
are you looking something like this:
Results: