Solved

Create custom date field code --- military format

Posted on 2004-04-05
4
480 Views
Last Modified: 2012-08-13
Hello,

I need to create (or download if already exists) a custom field code for MS Word

I am using the date field code, and the closest format is
DD-MMM-YY

What I want is
DD MMM YY (no hyphens)

Is there a way to do this?
I'm trying to avoid macros so I don't have to change security settings or both my clients with going thru enabling macros all the time.

Thanks
0
Comment
Question by:alikat538
  • 3
4 Comments
 
LVL 37

Accepted Solution

by:
Joanne M. Orzech earned 125 total points
ID: 10758727
Insert, Field, Date.

Press Alt F9 to view field codes.

Make sure it looks like this:

{DATE \@ "DD MMM YY"\*MERGEFORMAT}

Press Alt F9 - select field code and press F9 to update.
0
 
LVL 37

Expert Comment

by:Joanne M. Orzech
ID: 10758807
Also, if you want the date to automatically update every time you open the document, you could use this:

{TIME \@ "DD MMM YY"}

0
 
LVL 1

Author Comment

by:alikat538
ID: 10759001
Perfect!  You get the points
(Well almost, I took off one of the D to get rid of the leading 0)

This is what it said before
{DATE \@ "d-MMM-yy"}

does the *MERGEFORMAT allow you to customize?

Also --- I dont think I want the date to change...ie if I print on the 4th and need to reprint on the 5th --- I want the same date.....

so should I just change the DATE to SAVEDATE?

Thanks,
Alikat
0
 
LVL 37

Expert Comment

by:Joanne M. Orzech
ID: 10759110
I would keep it at DATE alikat.  Thanks for the points and grade!
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

There is a feature provided by MS Word that lets you create an Table of Contents for your Word document automatically. To use this feature for other documents there are two steps involved,   1.  Prepare your document for a table of contents (he…
Introduction Authors who set out to write any sort of lengthy piece for online submission—be it a long question or comment on a technical form, an article, or a substantial blog entry—often find it useful to work up a draft in an editor other t…
This video shows the viewer how to set up and create Footnotes in their document. Click on the References tab: Select "Insert Footnote": Type in desired text:
This video shows where to find templates, what they are used for, and how to create and save a custom template using Microsoft Word.

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question