Year

<< Click to Display Table of Contents >>

Navigation:  Appendix > Macros >

Year


 

welcome.icon.pdftools Year

 


 

The Year macro inserts the current year as a four-digit value.

 

The syntax for this macro is %[Year]

 

Example

 

If the %[Year] macro is used to specify watermark text, then the current year is inserted as a watermark:

 

year.macro.example

Figure 1. Add Watermark Dialog Box, %[Year] Macro Example

 

Note that this macro is often used in conjunction with other macros in order to create combined output. For example the combined macros %[Time:H:mm] %[Date:dd MMMM] %[Year] output the current time, date and year:

 

year.macro.example.two

Figure 2. Add Watermark Dialog Box, Combined Macro Example