Word field codes

  • Thread starter Thread starter Candace
  • Start date Start date
C

Candace

1. I need a field code that only gives me the actual date. For instance,
instead of "August 3, 2009," I need a field code to that will give me "3rd".

2. Also, I need a field code that will give me the month and the year,
without punctuation. So instead of "August 3, 2009," I need a field code that
will give me "August 2009."
 
1. Use a date field with the following format switch \@ "d" \*ordinal

2. Use a date field with the following format switch \@ "MMMM yyyy"

Yves
 
Hi,

The following field code will show the current day of the month with the
ordinal suffix. For example, today it shows 11th.

{ DATE \@ "d" \* Ordinal }

The following field code will display the full name of the current month
followed by a space and the current year with no other punctuation. For
example, today it shows January 2010.

{ DATE \@ "MMMM YYYY" }

In both cases, type the field codes without the enclosing curly brackets
({}), select the code, and press Ctrl+F9. Then press F9.

You can learn about more variations of the fields related to dates and times
on my Web page at http://makeofficework.com/inserting_dates_and_times.htm .

Hope this helps,
Pesach Shelnitz
 
Back
Top