Getting the last 2 characters of the entry date
I've created a field to concatenate 5 fields to create an auto-populated job number. I need Agency Code, Client Code, Product Code, Year (2 characters only), and Job ID (a unique hand-typed string in another field). So far I have
CONCAT(Agency Code,Company.Client Code,Company.Product Code) and that works fine.
I need to add the last 2 characters of the entryDate year next, like 2020="20", 2019="19", etc.
I can't use the expression "RIGHT({entryDate},2)" because RIGHT seems to only work on a string, not a date. There has to be an easy way to achieve this, right?
I thought maybe I have to coerce a date to a string and then grab the right 2 characters but I have no idea where to start with coercion. Is that even a thing in text mode?
Help!
Thanks
