#1   Report Post  
jtkinge
 
Posts: n/a
Default Date and time

Can I make a custom date format to use with the insert menu.
  #2   Report Post  
Jezebel
 
Posts: n/a
Default

Yes.


"jtkinge" wrote in message
...
Can I make a custom date format to use with the insert menu.



  #3   Report Post  
Treesy
 
Posts: n/a
Default

I searched the forum for "custom date" and found this suggestion. If it
doesn't work, you might try the search and see if one of the other
suggestions is better suited for your situation.

If you are using a DOCPROPERTY field to pull the "date completed" into your
document, you can add a picture switch to the field. From Word help:

Date-Time Picture (\@) field switch
Specifies the display of a date or time. This switch is called a "picture"
switch because you use symbols to represent the format of the field result.

For example, the switch \@ "dddd, MMMM d, yyyy" in the field { DATE \@
"dddd, MMMM d, yyyy" } displays "Friday, November 24, 2000." Combine the
following date and time instructions €” day (d), month (M), and year (y);
hours (h) and minutes (m) €” to build a date-time picture. You can also
include text, punctuation, and spaces.

Date instructions
Month (M)

The letter "M" must be uppercase to distinguish months from minutes.

Picture items
M
Displays the month as a number without a leading 0 (zero) for single-digit
months. For example, July is "7".
MM
Displays the month as a number with a leading 0 (zero) for single-digit
months. For example, July is "07".
MMM
Displays the month as a three-letter abbreviation. For example, July is
"Jul".
MMMM
Displays the month as its full name.
Day (d)

Displays the day of the month or the day of the week. The letter "d" can be
either uppercase or lowercase.

Picture items
d
Displays the day of the week or month as a number without a leading 0 (zero)
for single-digit days. For example, the sixth day of the month is displayed
as "6".
dd
Displays the day of the week or month as a number with a leading 0 (zero)
for single-digit days. For example, the sixth day of the month is displayed
as "06".
ddd
Displays the day of the week or month as a three-letter abbreviation. For
example, Tuesday is displayed as "Tue".
dddd
Displays the day of the week as its full name.
Year (y)

Displays the year as two or four digits. The letter "y" can be either
uppercase or lowercase.

Picture items
yy
Displays the year as two digits with a leading 0 (zero) for years 01 through
09. For example, 1995 is displayed as "95", and 2006 is displayed as "06".
yyyy
Displays the year as four digits.
Time instructions
Hours (h)

A lowercase "h" bases time on the 12-hour clock. An uppercase "H" bases time
on the 24-hour, or military, clock; for example, 5 P.M. is displayed as "17".

Picture items
h or H
Displays the hour without a leading 0 (zero) for single-digit hours. For
example, the hour of 9 A.M. is displayed as "9".
hh or HH
Displays the hour with a leading 0 (zero) for single-digit hours. For
example, the hour of 9 A.M. is displayed as "09".
Minutes (m)

The letter "m" must be lowercase to distinguish minutes from months.

Picture items
m
Displays minutes without a leading 0 (zero) for single-digit minutes. For
example, { TIME \@ "m" } displays "2".
mm
Displays minutes with a leading 0 (zero) for single-digit minutes. For
example, { TIME \@ "mm" } displays "02".
AM/PM and other text and punctuation
Displays A.M. and P.M. in one of four formats. To change the A.M. and P.M.
symbols for Microsoft Windows, change the regional settings in Windows
Control Panel.

Picture items for A.M. and P.M. display

AM/PM
Displays A.M. and P.M. as uppercase. For example, { TIME \@ "h AM/PM" }
displays "9 AM" or "5 PM".
am/pm
Displays A.M. and P.M. as lowercase. For example, { TIME \@ "h am/pm" }
displays "9 am" or "5 pm".
A/P
Displays A.M. and P.M. as abbreviated uppercase. For example, { TIME \@ "h
A/P" } displays "9 A" or "5 P".
a/p
Displays A.M. and P.M. as abbreviated lowercase. For example, { DATE \@ "h
a/p" } displays "9 a" or "5 p".
Picture items for other text display

'text'
Any specified text in a date or time. Enclose the text in single quotation
marks. For example, { TIME \@ "HH:mm 'Greenwich mean time' " } displays
"12:45 Greenwich mean time".
character
Includes the specified character in a date or time, such as a : (colon), -
(hyphen), * (asterisk), or space. For example, { DATE \@ "HH:mm MMM-d, 'yy" }
displays "11:15 Nov-6, '95".
`numbereditem`
Includes in a date or time the number of the preceding item that you
numbered by using the Caption command on the Insert menu (Reference submenu),
or by inserting a SEQ field. Enclose the item identifier, such as "table" or
"figure," in grave accents (`). Microsoft Word displays the sequential number
in arabic numerals. For example, { PRINTDATE \@ "'Table' `table` 'was printed
on' M/d/yy" } displays "Table 2 was printed on 9/25/95".
Note Quotation marks are not required around simple date-time pictures
that do not include spaces or text €” for example, { DATE \@ MM/yy }. For more
complex date-time pictures and those that include spaces or text, enclose the
entire date-time picture in quotation marks, for example, { DATE \ @ "dddd
MMMM d, yyyy', at' h:mm" }. Microsoft Word adds quotation marks to date-time
picture switches if you insert a field by using the Date and Time command or
the Field command (Insert menu).


"jtkinge" wrote:

Can I make a custom date format to use with the insert menu.

  #4   Report Post  
Charles Kenyon
 
Posts: n/a
Default

Create a date field. See http://addbalance.com/word/datefields1.htm for how.
Select it and save it as an AutoText entry. You can put this on the Insert
or any other menu using the Customize dialog (under the Tools menu).
--
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.

"jtkinge" wrote in message
...
Can I make a custom date format to use with the insert menu.



Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
using date field in merge Henri Vrancken Mailmerge 3 March 5th 05 02:52 PM
How to prevent Merged Date Field showing time? jmasood Mailmerge 1 February 21st 05 12:59 PM
date and time check button problem jay Tables 0 December 13th 04 08:44 AM
updating date and time Dave888 Microsoft Word Help 1 December 10th 04 04:46 AM
Stamping documents with date & time Sam Goddard Microsoft Word Help 1 November 24th 04 10:45 PM


All times are GMT +1. The time now is 10:43 PM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"