<< Click to Display Table of Contents >>

Navigation:  PDF-Tools V9 User Manual > Appendix > Macros >



welcome.icon.pdftools Year



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


The syntax for this macro is %[Year]




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



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:



Figure 2. Add Watermark Dialog Box, Combined Macro Example