Month

<< Click to Display Table of Contents >>

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

Month


 

welcome.icon.pdftools Month

 


 

The Month macro inserts the current month as a numerical value from 1-12.

 

The syntax for this macro is %[Month]

 

Example

 

If the %[Month] macro is used to specify watermark text and the current month is May then the number "5" is inserted as a watermark:

 

month.macro.example

Figure 1. Add Watermark Dialog Box, %[Month] 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] %[Month]/%[Day] output the current time followed by the month and the day of the month:

 

month.macro.example.two

Figure 2. Add Watermark Dialog Box, Combined Macro Example