Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

format date on emails

Avatar

Avatar
Validate 1
Level 2
vikashg34827223
Level 2

Likes

2 likes

Total Posts

28 posts

Correct Reply

2 solutions
Top badges earned
Validate 1
Give Back
Boost 1
Affirm 1
View profile

Avatar
Validate 1
Level 2
vikashg34827223
Level 2

Likes

2 likes

Total Posts

28 posts

Correct Reply

2 solutions
Top badges earned
Validate 1
Give Back
Boost 1
Affirm 1
View profile
vikashg34827223
Level 2

01-01-2020

Hi,

 

I have a very common scenario where i need to display a BirthDate on an email. In my profile schema i have birthdate field of date datatype with a value lets say 06/30/2001(mm/dd/yyyy). But when email renders, it is displayed as 

Fri Jun 29 2001 19:00:00 GMT-0500 (EST).

So if we notice..what is happening here is 06/30/2001 is being considered as Sat Jun 30 00:00:00 GMT and being converted into EST time. 

How is that possible? what needs to be corrected?

 

View Entire Topic

Avatar

Avatar
Validate 1
Level 2
vikashg34827223
Level 2

Likes

2 likes

Total Posts

28 posts

Correct Reply

2 solutions
Top badges earned
Validate 1
Give Back
Boost 1
Affirm 1
View profile

Avatar
Validate 1
Level 2
vikashg34827223
Level 2

Likes

2 likes

Total Posts

28 posts

Correct Reply

2 solutions
Top badges earned
Validate 1
Give Back
Boost 1
Affirm 1
View profile
vikashg34827223
Level 2

14-01-2020

It was resolved using formatDate function.