Skip to content

Dear Internet Explorer user: Your browser is no longer supported

Please switch to a modern browser such as Microsoft Edge, Mozilla Firefox or Google Chrome to view this website's content.

Format mail-merge date fields in Microsoft Word

Microsoft Word will format dates as mm/dd/yyyy as the default in mail merge documents. The field codes can be changed to enable dates in any format.

The problem with Microsoft Word’s mail merge is that it doesn’t matter what format the dates may be in the data source (eg: Excel), the dates will inevitably be displayed as mm/dd/yy. In Australia (like most of the English-speaking world) we display dates as dd/mm/yyyy, so the default formatting is problematic. This can easily be remedied.

This tutorial assumes that a mail merge document has been successfully created in Microsoft Word using a data source in Microsoft Excel.

Procedure

Step 1

Open the mail merge document that you wish to edit. On the “Mailings” ribbon, click both “preview results” and “highlight merge fields”.

View of ribbon in Word software
Select “highlight merge fields” and “preview results” under the Mailings ribbon in Word.

Step 2

Right-click on the field that you wish to edit, and choose “toggle field codes”. The date should transform into a code string in the format {MERGEFIELD Source_of_Date}

Step 3

Edit the code after the reference to the source field, but before the closing curly braces. For example:

{MERGEFIELD Source_of_Date \@ "dd MMMM yyyy"}

Step 4

Right-click on the field that you were editing and select “toggle field codes” again. The changes should be reflected in the format of the date.

Formatting dates

The date format can be customised as required. Simply combine the characters below (d, M and y) with any other characters (eg: “/” or “-“) to create a date in the desired format.

Day (d)

Month (M)

(Note: Months are an upper-case ‘M’ to distinguish them from minutes)

Year (y)

Examples

If the date today is Thursday 16 June 2015, then:

   

Comments

7 responses to “Format mail-merge date fields in Microsoft Word”

On 17 January 2016, Gad wrote: Hyperlink chain icon

Above is very useful. Thanks.

However, is it possible to convert a field containing only a three letter abbreviation of months e.g: Jan, Feb, Mar… into full months e.g. Jan to display as January etc. ?

Reply

    On 1 March 2018, Pankaj wrote: Hyperlink chain icon

    just click on merge option go to toggle and write \@ ” DD MMM YYY”…three letter of MMM is use for Jan, Feb

    Reply

On 1 March 2018, Pankaj wrote: Hyperlink chain icon

Hi,

Is any way in word mail merger toggle option that we can write “21st Sep 2011” format

Reply

On 22 June 2018, Marie wrote: Hyperlink chain icon

How can I display the month and date in a mail merge document where Excel contains my data. I have tried all methods suggested online. Cannot get it to work.
I want it to print as 6/21. I put in the mergefield Date \@ “M/d”.
This does not work. AND I had it defined in Excel as text and entered ‘6/21.

Reply

    On 12 July 2018, Adam Dimech wrote: Hyperlink chain icon

    Hello Marie, this will only work in Excel if your text is formatted as date. If, for instance, you had a date (let’s say in Australian format) of “21/6/2018” in your Excel sheet, you could then set your mail merge in Word to have the format @\ "M/d" and expect the date to print as “6/21”. The format of dates in Excel and Word are independent.

    Reply

On 6 August 2020, Tuyen To wrote: Hyperlink chain icon

Thank you so much for this tip Adam.

Reply

On 15 January 2022, Paul Brewer wrote: Hyperlink chain icon

Yes, great tip. But what do you do if you also have to include other escape sequences like \b or \f for generating line breaks? They don’t seem to work with \@.

Reply

Have Your Say

The following HTML is permitted:
<a href="" title=""> <b> <blockquote cite=""> <code> <em> <i> <q cite=""> <strike> <strong>

Comments will be published subject to the Editorial Policy.