Templates: More variables - dates
Hi, I often have to include the current date or the date of tomorrow in template mails. It'd be great if more "advanced" variables for templates would exist, especially regarding dates. I'd imagine the following:
- Today (short): 01.02.2023 (Or whatever locale you have)
- Today (long): 1st of February 2023
- Today (weekday): Monday
- Tomorrow (short): 02.02.2023 (Or whatever locale you have)
- Tomorrow (long): 2st of February 2023
- Tomorrow (weekday): Tuesday
Maybe even more advanced stuff could be thought of:
-
$today[0]
Today -
$today[+7]
The date of next week
Edited by Jonathan