Calculating time

How to use todays date to calculate how much time has passed sense - “specified date”.

What I’m trying to do

I am incubating eggs and tracking them in my notes. If I add that they hatched say Aug. 1 2023. Is there a way to get an automatic calculation that will check todays date and then put the time spanned from hatch day. So at a glance I can see - hatch 1 is 16 weeks old, hatch 2 is 4 weeks old … ect…?

Things I have tried

I tried to use templater but it is honestly way outside my programming understanding.

Thanks in advance for any help.

Hello.

The code below uses the Dataview plugin. Any use?

:hatching_chick:

***
egg1:: 2023-08-01  
egg2:: 2023-08-15  
***

- 🐣 1 = `=date(today) - this.egg1`
- 🐣 2 = `=date(today) - this.egg2`

```dataview
TABLE
date(today) - this.egg1 AS "🐣 1",
date(today) - this.egg2 AS "🐣 2"
WHERE file.name = this.file.name
```

```dataview
TABLE WITHOUT ID
list(
"**🐣 1 = ** " + (date(today) - this.egg1),
"**🐣 2 = ** " + (date(today) - this.egg2)
)
as "🐣 Summary"
WHERE file.name = this.file.name
```