email delivery template....change date format

Avatar

Avatar
Boost 3
Level 2
paulogalan
Level 2

Likes

4 likes

Total Posts

10 posts

Correct reply

0 solutions
Top badges earned
Boost 3
Boost 1
View profile

Avatar
Boost 3
Level 2
paulogalan
Level 2

Likes

4 likes

Total Posts

10 posts

Correct reply

0 solutions
Top badges earned
Boost 3
Boost 1
View profile
paulogalan
Level 2

22-05-2017

I need in my delivery template change a date format from "dd/mm/yyy" to "dd < month write in words> yyyy"

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Boost 5
Employee
kishorep
Employee

Likes

5 likes

Total Posts

8 posts

Correct reply

3 solutions
Top badges earned
Boost 5
Boost 3
Boost 1
Affirm 3
Affirm 1
View profile

Avatar
Boost 5
Employee
kishorep
Employee

Likes

5 likes

Total Posts

8 posts

Correct reply

3 solutions
Top badges earned
Boost 5
Boost 3
Boost 1
Affirm 3
Affirm 1
View profile
kishorep
Employee

22-05-2017

<%= formatDate(new Date(), "%2D %Bl %4Y") %>

Displays 22 May 2017

this works in case of you are trying to format date from Date Object.

Answers (2)

Answers (2)

Avatar

Avatar
Boost 5
Employee
kishorep
Employee

Likes

5 likes

Total Posts

8 posts

Correct reply

3 solutions
Top badges earned
Boost 5
Boost 3
Boost 1
Affirm 3
Affirm 1
View profile

Avatar
Boost 5
Employee
kishorep
Employee

Likes

5 likes

Total Posts

8 posts

Correct reply

3 solutions
Top badges earned
Boost 5
Boost 3
Boost 1
Affirm 3
Affirm 1
View profile
kishorep
Employee

22-05-2017

Here is the manual, i was referring to

1212030_pastedImage_0.png

and Formatting

I am not sure, if you can use "Dictionary" strings for translating texts in deliveries. If you can't, you can define and call your language-specific JS function within delivery.

Avatar

Avatar
Boost 3
Level 2
paulogalan
Level 2

Likes

4 likes

Total Posts

10 posts

Correct reply

0 solutions
Top badges earned
Boost 3
Boost 1
View profile

Avatar
Boost 3
Level 2
paulogalan
Level 2

Likes

4 likes

Total Posts

10 posts

Correct reply

0 solutions
Top badges earned
Boost 3
Boost 1
View profile
paulogalan
Level 2

22-05-2017

Tnaks a lot, it's working! 🙂

What's "%Bl" means? Can I change the language of month? For example instead May in english, I'd like write in french (mai) or spanish (mayo). Is it possible too?