A new relevance tidbit: Date with dash

My good companion, Gary Louw, showed me a neat and tidy relevance move today for generating a string version of the current date in a specific format, with dashes. He used the semicolon to order a plural string with a concatenation for the separator.

q: (concatenation "-" of (current year as string;current month as two digits;current day_of_month as two digits))
A: 2022-03-07

Smooth.

So, you want slashes instead, and US ordering?

q: (concatenation "/" of (current month as two digits;current day_of_month as two digits;current year as string))
A: 03/07/2022
8 Likes