Home |
Search |
Today's Posts |
#1
|
|||
|
|||
Specific formatting of the date
In Word 2003 how do I format an automatic date code so the text appears in
the form of: 2nd day of August, 2005 ? I have the date part, but how do I get it to display the st, nd, rd and th suffix to the numerical day part? Thanks |
#2
|
|||
|
|||
Wowbagger wrote:
In Word 2003 how do I format an automatic date code so the text appears in the form of: 2nd day of August, 2005 ? I have the date part, but how do I get it to display the st, nd, rd and th suffix to the numerical day part? Thanks You need two separate fields, whose codes look like this: { DATE \@"d" \*Ordinal } day of { DATE \@"MMMM, yyyy" } The first field displays only the day of the month and applies the \*Ordinal switch to get the suffix. The second field displays the month and year. If you don't want this to update when the document is reopened, change DATE to CREATEDATE in both places. -- Regards, Jay Freedman Microsoft Word MVP FAQ: http://word.mvps.org |
#3
|
|||
|
|||
You'll have to do this in pieces. "2nd" and "August, 2005" will have to be
separate fields. For "2nd" use { DATE \@ "d" \* Ordinal } "August, 2005" use { DATE \@ "MMMM, YYYY" } So the whole phrase would be: { DATE \@ "d" \* Ordinal } day of { DATE \@ "MMMM, YYYY" } For more, see http://word.mvps.org/FAQs/TblsFldsFms/DateFields.htm -- Suzanne S. Barnhill Microsoft MVP (Word) Words into Type Fairhope, Alabama USA Word MVP FAQ site: http://word.mvps.org Email cannot be acknowledged; please post all follow-ups to the newsgroup so all may benefit. "Wowbagger" none wrote in message ... In Word 2003 how do I format an automatic date code so the text appears in the form of: 2nd day of August, 2005 ? I have the date part, but how do I get it to display the st, nd, rd and th suffix to the numerical day part? Thanks |
#4
|
|||
|
|||
Thanks to both... I had the MMMM, YYYY figured out but couldn't find the
right combination of date rd th nd to extract a meaningful hit on Google. "Suzanne S. Barnhill" wrote in message ... You'll have to do this in pieces. "2nd" and "August, 2005" will have to be separate fields. For "2nd" use { DATE \@ "d" \* Ordinal } "August, 2005" use { DATE \@ "MMMM, YYYY" } So the whole phrase would be: { DATE \@ "d" \* Ordinal } day of { DATE \@ "MMMM, YYYY" } For more, see http://word.mvps.org/FAQs/TblsFldsFms/DateFields.htm -- Suzanne S. Barnhill Microsoft MVP (Word) Words into Type Fairhope, Alabama USA Word MVP FAQ site: http://word.mvps.org Email cannot be acknowledged; please post all follow-ups to the newsgroup so all may benefit. "Wowbagger" none wrote in message ... In Word 2003 how do I format an automatic date code so the text appears in the form of: 2nd day of August, 2005 ? I have the date part, but how do I get it to display the st, nd, rd and th suffix to the numerical day part? Thanks |
Reply |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Date Field Formatting | Microsoft Word Help | |||
How do I control date formatting in a Word Mail Merge? | Mailmerge | |||
Date formatting in text form field, part II | Microsoft Word Help | |||
How to retain specific formatting in the same line after field ent | Microsoft Word Help | |||
Date formatting in text form field | Microsoft Word Help |