u/The_Darkest_soul1234

▲ 2 r/kustom

I'm trying to get a length of time since a date.

I just want a countdown, that says: <Y> years, <M> months, <D> days, <H> hours, and <m> minutes since <TBD>. From the date and time of 12:34pm, on the 25/6/2020. But it stubbornly refuses to be right.

So far, I have this:

$tf(-tf(2020y06M25d12h34m00s, S), D 'days' hh 'hours' mm 'mins')$

Which gives me this:

2241 days 04 hours 46 mins (Which is still wrong)

But whenever I try to add months and years, the whole thing breaks. Please, if you know how, just give me the code. I've looked on previous posts and all I see is cryptic gobbledy gook, and I just want to be told how to fix it. Please, if you know how, enlighten me.

reddit.com
u/The_Darkest_soul1234 — 6 days ago