Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Mailmerge and Fax / April 2005

Tip: Looking for answers? Try searching our database.

date field format

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
lynn atkinson - 23 Mar 2005 15:11 GMT
I am working on a mail merge with an Access database as a data source. I want
the date on the merged letter to be in long date format ie wednesday 23 March
2005 and the time to be displayed in short format ie 14:00. I have formatted
the fields in the database to be such and the tables display in that format,
however when I complete the merge the date is displayed as 23/3/05 and the
time is 10:00:00.
How do I get the formats displayed as I require.
Greg - 23 Mar 2005 15:39 GMT
Try this switch in your mergefie

{ Mergefield YourField \@ "dddd, dd MMMM yyyy hh:mm"}
lynn atkinson - 23 Mar 2005 16:39 GMT
thanks
I have put this in place for the date and it works well. However, I have a
time field which is separate and although I have put the switch \@hh:mm in
place, it is showing the time 15:00 in the database as 03:00 in the merged
document. How do I get it to translate the 24hr clock times?

> Try this switch in your mergefie
>
> { Mergefield YourField \@ "dddd, dd MMMM yyyy hh:mm"}
Graham Mayor - 23 Mar 2005 17:59 GMT
Use upper case Hs for the 24 hour clock.

Signature

<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor -  Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>

> thanks
> I have put this in place for the date and it works well. However, I
[quoted text clipped - 6 lines]
>>
>> { Mergefield YourField \@ "dddd, dd MMMM yyyy hh:mm"}
macropod - 05 Apr 2005 08:34 GMT
hi Lynn,

It's as simple as changing 'hh' to 'HH':
{ Mergefield YourField \@ "dddd, dd MMMM yyyy HH:mm"}

Cheers

> thanks
> I have put this in place for the date and it works well. However, I have a
[quoted text clipped - 5 lines]
> >
> > { Mergefield YourField \@ "dddd, dd MMMM yyyy hh:mm"}
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.