As a workaround (?), you could try to format a date using format() (which uses MomentJS tokens)
.
You’ll get a string as a result though but you could coerce it into a number if/when needed…
E.g.: Using the file.ctime of notes created today (2025-08-19) and formatting it as "WW" (for the ISO Week number), I get 34
