<< Click to Display Table of Contents >> Navigation: PDF-Tools V7 User Manual > Appendix > Macros > Hour |
The Hour macro inserts the hour value from the current time.
The syntax for this macro is %[Hour]
If the %[Hour] macro is used to specify watermark text and the current time is 12:27 then '12' is inserted:
Figure 1. Add Watermark Dialog Box, %[Hour] 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 %[Hour]:%[Minute] output the hour followed by the minutes of the hour:
Figure 2. %[Hour] Combined Macro Example