Using HubL functions with email personalization tokens


I know that filters can’t be used to personalize emails, but there’s no mention in the docs of functions not working.

However, when I try to do the following within a rich text module in an email, it doesn’t work:

{{ datetimeformat(contact.upcoming_webinar_date, '%A %B %e') }}

Do functions not work when personalizing emails? I also tried doing this within the template itself (vs. the individual email) and it still doesn’t work: