Day Counter

Hey, how can I create an automatic (whole) day counter?

I tried: $tf(dp(2025y02M11d0l10h0m0s))$ but the output says “1 week ago”.

How can I change it to “7”?

Thanks for any help in advance.

Add the format that you want the output in to the end of the formula (see the D below):

$tf(dp(2025y02M11d0l10h0m0s),D)$

This will give you -7; if you want 7 you can go with

$mu(abs, tf(dp(2025y02M11d0l10h0m0s),D))$

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