Day

<< Click to Display Table of Contents >>

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

Day


 

welcome.icon.pdftools Day

 


 

The Day macro inserts the current day of the month.

 

The syntax for this macro is %[Day]

 

Example

 

If the %[Day] macro is used to specify watermark text and the date is 23rd May then the number "23" is inserted as a watermark:

 

day.macro.example

Figure 1. Add Watermark Dialog Box, %[Day] 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. %[Day] Combined Macro Example