Week Number Calc

Hello!

I’m sure there must be a simple answer although I have yet to find it…

How can I calculate and return the week number based on a given date?

I would like to execute via typed string trigger for note-taking.

Many thanks for any ideas!

You can use the ICU Date/Time Token.
For the ICU format codes, see: Formatting Dates and Times - ICU User Guide

1 Like

Fantastic! Thanks! I wasn’t aware of this guide and had been referencing https://wiki.keyboardmaestro.com/Dates_and_Times. I appreciate the full reference source. I knew it had to be simple. :slight_smile: Thanks again and have a great day!

2 Likes

You can get to the ICU link @JMichaelTX referred to directly from the Keyboard Maestro Help menu.