How do you pad a templater string?

In my daily note template, I have

julian_YY-DDD:: <%“YY-DDD”) %>

Since this is the beginning of the year, I get 24-5. How do I format the templater command to have my julian date show as 24-005 ?

Thank you!

You want the date as in “today is the 5th day of the year 2024” (as of today, 2024-01-05), is that it ?

If that’s the case, then using

<%"YY-DDDD") %>

… should give you the expected result :blush:

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