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

Anilr1717
Community profile Anilr1717 Level 1
Job title here
Location here
1 BADGE
Level 1

Level 1

Learn more
Joined the community 24-07-2020 2:59:42 AM
Online
Top badges earned by Anilr1717
Customize the badges you want to showcase on your profile
Date Format Function in Adobe Campaign Standard
Avatar
Shape 1
Level 1
Anilr1717
Level 1

Likes

0 likes

Total Posts

2 posts

Correct Reply

0 solutions
Top badges earned
Shape 1
View profile
Anilr1717
- Adobe Campaign Standard
Hi All, Putting some logic for Date Format function in Adobe Campaign Standard. ToDate(LPad(ToString(Month(GetDate())),2 ,'0' )+'/'+LPad(ToString(Day(GetDate())),2 ,'0' )+'/'+ ToString(Year(GetDate()))) ----MM/DD/YYYY (07/29/2020) Regards,Anil

Views

394

Likes

0

Replies

0
Re: Currency Decimal Places
Avatar
Shape 1
Level 1
Anilr1717
Level 1

Likes

0 likes

Total Posts

2 posts

Correct Reply

0 solutions
Top badges earned
Shape 1
View profile
Anilr1717
- Adobe LiveCycle
Hi, Just posting here so anybody can use it. 12345/1000 = 12.34 not 12.35 Code: 12.34 Floor(ToDouble(@CONTENT4)/1000)+'.'+Substring( Iif(Length(ToString(Mod(ToDouble(@CONTENT4), 1000)))<=1,LPad(ToString(Mod(ToDouble(@CONTENT4), 1000)),3 ,'00' ),Iif(Length(ToString(Mod(ToDouble(@CONTENT4), 1000)))=2,LPad(ToString(Mod(ToDouble(@CONTENT4), 1000)),3 ,'0' ),ToString(Mod(ToDouble(@CONTENT4), 1000)))),1,2 ) Code: 12.35 Round(ToDouble(12345)/1000,2) Regards,Anil

Views

146

Likes

0

Replies

0