View Single Post
 
Old 08-16-2018, 12:03 AM
Zhibek Zhibek is offline Windows 10 Office 2013
Advanced Beginner
 
Join Date: Aug 2018
Location: Almaty, Kazakhstan
Posts: 30
Zhibek is on a distinguished road
Default

Quote:
Originally Posted by gmayor View Post
Which 'document property' did you have in mind?
Your message subject says 'date field'. If you want to insert a date field, you don't need a macro you simply insert a date field with a formatting switch to dsiplay only the year e.g. { DATE \@ "yyyy" } - use CTRL+F9 for the field brackets. The rest is just text thus
3/31/{ DATE \@ "yyyy" }
will always show the last day of March in the current year.
Graham, hi!
3/31/{ DATE \@ "yyyy" }
here what should I add if I need always show the last day of March in the next year?
For example:
today is 16/8/2018
in document it must shows 3/31/2019

Thank you for help~!
Reply With Quote