Set date formats (i.e. 4th or 3rd)?

L

luk_sr

The goal is to have the following end result with this merge field

FILLIN "First Interview date" \@ "dddd, MMMM d" \o

Result: Monday, March 6th
 
D

Doug Robbins - Word MVP

I am not sure about doing it with a fill in field, but with a mergefield you
would use

{ MERGEFIELD FirstInterviewDate \@ "dddd MMMM" } { MERGEFIELD
FirstInterviewDate \@ "d" \* Ordinal }

If you really want the date to be entered from the keyboard, you may have to
use two FILLIN fields and that would annoy the hell out of me.

--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP
 
C

Charles Kenyon

See http://addbalance.com/word/datefields1.htm for information on the
different kinds of datefields and how to format them.

--

Charles Kenyon

Word New User FAQ & Web Directory: http://addbalance.com/word

Intermediate User's Guide to Microsoft Word (supplemented version of
Microsoft's Legal Users' Guide) http://addbalance.com/usersguide


--------- --------- --------- --------- --------- ---------
This message is posted to a newsgroup. Please post replies
and questions to the newsgroup so that others can learn
from my ignorance and your wisdom.
 
G

Graham Mayor

As Doug says, you cannot do this with a single field. If you can use an ASK
field instead of a fillin field you could format a REF field to produce the
output required - see http://www.gmayor.com/formatting_word_fields.htm and
substitute REF bookmarkname for DATE in the example.

--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP


<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 
M

macropod

You can't do this with a single field, but it can be done with nested
fields, coded like:
{QUOTE{ASK MyDate "First Interview date" \o}{MyDate \@ "dddd, MMMM {MyDate
\@ d \*Ordinal}"}}

To see how to superscript the ordinals, plus how to do just about everything
else you might want to do with dates in Word, check out my Date Calc
'tutorial', at:
http://www.wopr.com/cgi-bin/w3t/showthreaded.pl?Number=249902

Cheers
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top