Changing the case of date fields

There does not seem to be an option for changing text portions of dates (such as the name of the month) to UPPERCASE (or lowercase) using the Field command dialog box. All of the examples shown are in First capital.

Field dialog box

However, if you explore other fields where there are options to change the case, you can see that setting a field to UPPERCASE simply adds some code to the end of the field like this: "%tc1".  

field dialog box

Back to the date fields shown in the first dialog above. Note that you are not limited to only the example date formats shown, but you can enter your own date format (center, top of dialog). So click on the example that most closely matches what you want, and then paste in the suffix code "%tc1". This should alter the Field expression shown at the bottom of the dialog and change the string to UPPERCASE.

If you are automating this, note that you can use the full string %<\AcVar Date \f "MMM yyyy %tc1">% to get the same effect. Of course, you can vary the date strings part to fit your needs.

 


All content is copyright © CAD PANACEA 2005-2013 unless otherwise noted and may not be reproduced. All comments posted to this blog are the sole responsibility of the person making the comment.

Google, as a third party vendor, uses cookies to serve ads on this site. Google's use of their cookies enables it to serve ads to users based on their visit to your sites and other sites on the Internet. You may opt out of the use of these cookies by visiting the Google ad and content network privacy policy.

Powered by Drupal