Date and Time Question

  • Thread starter Thread starter Robb H
  • Start date Start date
R

Robb H

Is there a way to use this format in word using the date
and time, ie... DD MMM YY TTMMhrs (25 Oct 04 1300hrs)if
not can you eplain how to make this happen.

Thanks
Robb
 
The correct date/time picture switch is \@ dd MMM yy HHmm. So your field
would be:

{ DATE \@ "dd MMM yy HHmm'hrs" }

Note that the entire picture switch is enclosed in double quotes and the
"hrs" in single quotes (to indicate that it is literal text). You could
equally well use

{ DATE \@ dd MMM yy HHmm }hrs

with the "hrs" part outside the field.
--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA

Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.
 
{CreateDate \@ "dd MMM yy hhmm"}hrs

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

See also the MVP FAQ: 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.
 
Back
Top