#1
|
|||
|
|||
use different date format in a reference
I just started using bookmarks to enter fields and references to copy the fields. (I know, I should have been doing this for a long time.) Anyway, I have been using "charformat" which works great. However, I have a challenge for all of you SuperUsers.
I would like to enter a date (say with a format of mmmm dd, yyyy) and bookmark it. But then I would like to reference the bookmark but format it differently, not just the char format, but the date format (such as mm-dd-yy). I have not been able to find a way to do it. Any suggestions? |
#2
|
||||
|
||||
Unless you're after minutes, the date switch for the first field should be:
\@ "MMMM DD, YYYY" not: \@ "mmmm dd, yyyy" As for the cross-reference, that's a simple matter of using a different date switch there: \@ "MM-DD-YY" Note: If you're using the \* Charformat switch along with a date switch, the \* Charformat must be inserted after the date switch.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#3
|
|||
|
|||
Paul,
I am not sure I get this. Should I use a switch in my bookmark? I have not been able to do that. I entered this exactly - February 13, 2018 as my bookmark named AdoptDate then as my crossref { ref AdoptDate \@ mm-dd-yyyy ] It showed - 00-13-2018 |
#4
|
||||
|
||||
You really need to pay closer attention to the field switch syntax: 'm' is for minutes; 'M' is for months...
in your first post, you said Quote:
\@ "MMMM DD, YYYY" not: \@ "mmmm dd, yyyy" You then said Quote:
\@ "MM-DD-YY" Instead of doing that, you've chosen to use: \@ "mm-dd-yyyy" Given that your switch tells Word to display minutes instead of months, it's hardly surprising you didn't get the results you expected.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#5
|
|||
|
|||
Paul,
Yikes. Thank you. |
Thread Tools | |
Display Modes | |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Can't format date to MM/DD/YY | gogreen | Excel | 2 | 10-31-2016 03:24 PM |
How to Create a Reference Style That Will Provide an author (date) citation | djwalsh | Word | 3 | 03-17-2014 05:28 AM |
Letter date changes when merging with Excel - not the format, the actual date! | Smallweed | Mail Merge | 1 | 02-07-2014 06:00 PM |
Reference number and cross reference for equation numbers to match the thesis format | wmac | Word | 1 | 05-14-2013 08:54 PM |
date format | gsrikanth | Excel | 1 | 12-28-2011 05:06 AM |