since ‎24-07-2020
‎17-03-2021
Anilr1717
Level 1
Date Format Function in Adobe Campaign Standard
Avatar

Anilr1717

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

332

Likes

0

Replies

0
Betreff: Currency Decimal Places
Avatar

Kosta_Prokopiu

Kosta_Prokopiu
- Adobe LiveCycle
🙂 I think there is an easier solution 12345/1000 on next lower cent: Math.floor(100*(12345/1000))/100 =>> 12.3412345/1000 on next higher cent: Math.ceil(100*(12345/1000))/100 =>> 12.35

Views

131

Likes

0

Replies

0