Have you guys been able to change the date format for the Email Template Access Request for Other?
I have two issues. The first one is that the Notification doesn’t get the tenant’s timezone and sends the date as UTC, which will cause confusion. The second one is the format — it’s sending as Wed May 20 06:00:00 UTC 2026.
I tried to convert the date string to a date object to be able to change the pattern and timezone, but without success. Any ideas?
There are two versions of the Email Templates, Version 1 and version 2, and they support different functionality with regards to manipulating the dates.
Details can be found here:
The specific Email Template you are looking at is a Version #1 template, as shown here:
As such, you will need to use the Version #1 Date Formatting examples, which use the $sptools rather than the $datetool. The first link contains this documentation.
The link that @utkirjonkamiljanov posted above is for the version #2 of the email Templates, so it will not work for you.