Formatting date problem

J

J_Gold

Hi All,

I have a date field in my document in which I would like to include the ordinal
eg. February 16th. I can't figure out how to include the ordinal or how to
superscript it. Is it possible to format the date this way?

Thanks,
Angela
 
C

Charles Kenyon

{ CreateDate \@ "d" \* Ordinal } day of { CreateDate \@ "MMMM, yyyy" } will
give you 16th day of February, 2004.
--

Charles Kenyon

See the MVP FAQ: <URL: http://www.mvps.org/word/> which is awesome!
--------- --------- --------- --------- --------- ---------
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.
 
J

J_Gold

Hi Charles - Thanks!

Charles Kenyon said:
{ CreateDate \@ "d" \* Ordinal } day of { CreateDate \@ "MMMM, yyyy" } will
give you 16th day of February, 2004.
--

Charles Kenyon

See the MVP FAQ: <URL: http://www.mvps.org/word/> which is awesome!
--------- --------- --------- --------- --------- ---------
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.
 
J

J_Gold

Hi Graham, thanks for the info.

Cheers, Angela

PS Great site. I have found many a useful tip there.
 

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