Jun 16, 2020 04:22 AM
Is it possible to get the last 2 digits of the creation date (year) e.g. 20 for 2020 19 for 2019.
This is to use in a unique reference field (first 2 letters of name + “-” + last two letters of creation year + “-” + Auto ref number)
I currently have:
UPPER( LEFT(Created By,2)) & “-” & ( YEAR(CREATED_TIME()) & “-” & {Project Ref}
Which gives me:
E.g. AA-2020-101
Where do I insert the RIGHT(XX,2)?
I’ve tried the following but with a returned #error!:
UPPER( LEFT(Created By,2)) & “-” & RIGHT( ( YEAR(CREATED_TIME()),2) & “-” & {Project Ref}
Solved! Go to Solution.
Jun 16, 2020 05:58 AM
Try using this to get the last 2 digits of the year:
MOD(YEAR(CREATED_TIME()), 100)
Jun 16, 2020 05:58 AM
Try using this to get the last 2 digits of the year:
MOD(YEAR(CREATED_TIME()), 100)
Jun 16, 2020 06:03 AM
Perfect! thanks so much @Rey_Crisostomo