The date format mm/dd/yy is localized by Excel: even though the file specifies a different format (e.g. dd/mm/yyyy), it will be drawn differently based on system settings. It makes sense when the producer and consumer of files are in the same locale, but that is not always the case over the Internet (like in this case). Unfortunately there is no “smart” way around this yet.
Solution #1:
To get a correctly formatted date in the generated PDF file, you can change the placeholder type from Text to Date in MailMergic.
Select Date as the new placeholder type:
Select the date format you want to use or define your own date format:
You can use the following characters to define your own date format:
Format | Output | Description |
---|---|---|
YY | 18 | Two-digit year |
YYYY | 2018 | Four-digit year |
M | 1-12 | The month, beginning at 1 |
MM | 01-12 | The month, 2-digits |
MMM | Jan-Dec | The abbreviated month name |
MMMM | January-December | The full month name |
D | 1-31 | The day of the month |
DD | 01-31 | The day of the month, 2-digits |
Solution #2:
To get a correctly formatted date in the generated PDF file, you can save the date as Text format instead of Date format directly in your Excel spreadsheet. This way the date will always be printed as you can see it in your Excel file.