Output | Variable Structure | Example |
1/1/2019 (No Zeros) | {[VarName|format: "d/M/yyyy"]} | {[EngagementDate|format: "d/M/yyyy"]} |
01/01/2019 (With Zeros) | {[VarName|format: "dd/MM/yyyy"]} | {[EngagementDate|format: "d/M/yyyy"]} |
1st day of January 2019 | {[VarName|format: "do 'day of' MMMM yyyy"]} | {[EngagementDate|format: "do 'day of' MMMM yyyy"]} |
January 1, 2019 | {[VarName|format: "MMMM d, yyyy"]} | {[EngagementDate|format: "MMMM d, yyyy"]} |
For more information on other variations of what can be done with date variables visit https://date-fns.org/v2.7.0/docs/format.