Type
|
Token
|
Output
|
Type
|
Token
|
Output
|
Month
|
M
|
1 2 3 .... 11 12
|
Day of Week
|
dd
|
Su Mo Tu ... Fr Sa
|
Month
|
Mo
|
1st 2nd 3rd...11th 12th
|
Day of Week
|
ddd
|
Sun Mon Tue ... Fri Sat
|
Month
|
MM
|
01 02 03 .... 11 12
|
Day of Week
|
dddd
|
Sunday Monday....Saturday
|
Month
|
MMM
|
Jan Feb ... Nov Dec
|
Year
|
YY
|
70 71 72 ...29 30
|
Month
|
MMMM
|
January February...December
|
Year
|
YYYYY
|
1970 1971 ...2029 2030
|
Day of Month
|
D
|
1 2 3 .... 30 31
|
Day of Year |
DDD |
1 2 3 4 ....364 365 |
Day of Month
|
Do
|
1st 2nd 3rd ...30th 31st
|
Week of Year
|
w
|
1 2 3...52 53
|
Day of Month
|
DD
|
01 02 03 ... 30 31
|
Quarter
|
Qo
|
1st 2nd 3rd 4th
|
Type
|
Token
|
Output
|
AM/PM
|
a
|
am pm
|
AM/PM
|
A
|
AM PM
|
Hour
|
H
|
0 1 2 3....22 23
|
Hour
|
HH
|
00 01 02 03 .... 22 23
|
Hour
|
h
|
1 2 3 ... 11 12
|
Hour
|
hh
|
01 02 03 .. 11 12
|
Hour
|
k
|
1 2 3 4 .... 23 24
|
Hour
|
kk
|
01 02 03 04 .... 23 24
|
Minute
|
m
|
1 2 3 4 ....58 59
|
Minute
|
mm |
01 02 03 ... 58 59
|
Second
|
s
|
0 1 2 3 ...58 59 |
Second |
ss
|
00 01 02 03 ... 58 59
|
Mail Merge specified in our campaign
|
What the user will see
|
{contact.lastTransaction}
|
11/06/2020 3.30pm
(day & month will be reversed based on locale)
|
{contact.lastTransaction.day}
|
11
|
{contact.lastTransaction.month}
|
Jun
|
{contact.lastTransaction.year}
|
2020
|
{contact.lastTransaction.dddd}
|
Thursday
|
{contact.lastTransaction.MMMM}
|
June
|
{contact.lastTransaction.dddd Do MMMM}
|
Thursday 11th June
|
{contact.lastTransaction.MMM Do h:m a}
|
Jun 11th 3:30pm
|
Hi {contact.firstName|there}, We noticed that your birthday is coming up on the {contact.dob.Do} of {contact.dob.MMMM} and to help you celebrate, we would like to offer you $20 off from our store. Simply use the code {voucher.offer20off.code} at checkout. This code is valid from {date.now.Do MMMM} until {contact.dob+14d. Do MMMM}
Hi Andy, We noticed that your birthday is coming up on the 10th of December and to help you celebrate, we would like to offer you $20 off from our store. Simply use the code ABC321 at checkout. This code is valid from 10th December until 24th December.