Date and Time Question

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
 
S

Suzanne S. Barnhill

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top