Solved

Create custom date field code --- military format

Posted on 2004-04-05
4
482 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

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

Microsoft Word is a program we have all encountered at some point, but very few of us have dug deep into its full scope of features, let alone customized it to suit our needs. Luckily making the ribbon (aka toolbar, first introduced in Word 2007) wo…
Ever visit a website where you spotted a really cool looking Font, yet couldn't figure out which font family it belonged to, or how to get a copy of it for your own use? This article explains the process of doing exactly that, as well as showing how…
This video walks the viewer through the process of creating an MLA formatted document, as well as a bibliography with citations.
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:

617 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