Formatting date

I’m trying to get my date to format correctly to be a scrambled batch code.

I want it to read YDDMM where Y= year I.e currently 1 (2021)

I’ve managed to get it to show the whole date using concatenate but I’m struggling to omit the YYY and just get the year.

This will then be combined with a prefix & suffix which I seem to have working ok.

Any suggestions…

Solved Solved
0 4 300
  • UX
1 ACCEPTED SOLUTION

Please take a look at the TEXT() functions.

In general, your desired format could be achieved by something like

RIGHT(TEXT([Date Column], “YYDDMM”),5)

View solution in original post

4 REPLIES 4
Top Labels in this Space