TechTalkz.com Logo Ask the Expert

Go Back   TechTalkz.com Technology & Computer Troubleshooting Forums > Tech Support Archives > Microsoft > Microsoft Office > Microsoft Office Word

Notices

Date format in field codes

Microsoft Office Word


Reply
 
Thread Tools Display Modes
Old 26-06-2008, 07:19 AM   #1
TD
Guest
 
Posts: n/a
Date format in field codes

Hi everybody,

I've got the following createdate field that insists on displaying June 25,
2008 when I want it 25, June 2008.

{CREATEDATE \@ "DD-MMM-YYYY" \* MERGEFORMAT}

What am I doing wrong?

Cheers

--
TD
  Reply With Quote
Old 26-06-2008, 07:19 AM   #2
Jay Freedman
Guest
 
Posts: n/a
Re: Date format in field codes

TD wrote:
> Hi everybody,
>
> I've got the following createdate field that insists on displaying
> June 25, 2008 when I want it 25, June 2008.
>
> {CREATEDATE \@ "DD-MMM-YYYY" \* MERGEFORMAT}
>
> What am I doing wrong?
>
> Cheers


Well, that format won't give you what you want, but it also shouldn't be
giving you what you say it does. What you should be seeing instead, given
that field code, is 25-Jun-2008.

To get your desired format, the field code should be

{CREATEDATE \@ "MMMM DD, YYYY" \* MERGEFORMAT}

or maybe with only one D, so you won't get two digits in dates like July 01,
2008.

--
Regards,
Jay Freedman
Microsoft Word MVP FAQ: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.


  Reply With Quote
Old 26-06-2008, 07:20 AM   #3
StevenM
Guest
 
Posts: n/a
RE: Date format in field codes

To: TD,

If you want: "25 June, 2008." Is should read:

{CREATEDATE \@ "DD MMMM, YYYY" \* MERGEFORMAT}

The comma belongs before the year, not after the day (of course, it is
acceptable not to use a comma). So:

25 June 2008
25 June, 2008
June 25 2008
June 25, 2008

But that wasn't causing your problem.

Did you update your field (with F9) after you made your last change?
(Also, did you want 3 or 4 Ms?)

Steven Craig Miller

"TD" wrote:

> Hi everybody,
>
> I've got the following createdate field that insists on displaying June 25,
> 2008 when I want it 25, June 2008.
>
> {CREATEDATE \@ "DD-MMM-YYYY" \* MERGEFORMAT}
>
> What am I doing wrong?
>
> Cheers
>
> --
> TD

  Reply With Quote
Reply

Thread Tools
Display Modes



< Home - Windows Help - MS Office Help - Hardware Support >


New To Site? Need Help?

All times are GMT +5.5. The time now is 05:45 PM.


vBulletin, Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO
Copyright © 2005-2010, TechTalkz.com. All Rights Reserved - Privacy Policy
Valid XHTML 1.0 Transitional