Thread: [Solved] Date Format Issue
View Single Post
 
Old 06-05-2018, 05:44 AM
macropod's Avatar
macropod macropod is offline Windows 7 64bit Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,962
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

That depends on how you want the date to appear. To get a merged date to appear like:
5th of June, 2018
for example, you might use a field coded as:
{MERGEFIELD DATE \@ "'{MERGEFIELD DATE \@ d \*Ordinal} of' MMMM, yyyy"}
Note the use of paired double quotes and single quotes.

To see how to do just about everything you might want to do with dates in Word, check out my Microsoft Word Date Calculation Tutorial - it's in a 'Sticky' thread at the top of the Word forum: https://www.msofficeforums.com/word/...-tutorial.html. Do read the document's introductory material.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote