I'm trying to set up membership renewal reminder letters, and instead of including the entire date that the member joined, we'd like it to just be the year. I have a token for "latestcurrentmembership.join_date" that adds that date as "January 1, 2022." Is there a way to have the token only add "2022" to the letter?
1 Answer
It might work to use crmDate as described at https://docs.civicrm.org/user/en/latest/common-workflows/tokens-and-mail-merge/#date, i.e.
{latestcurrentmembership.join_date|crmDate:"Year"}
However not everything listed there works everywhere in all versions so I don't know offhand if that works in your version of civi in scheduled reminders. Only one way to find out!