Seconds

<< Click to Display Table of Contents >>

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

Seconds


 

welcome.icon.pdftools Seconds

 


 

The Seconds macro inserts the seconds value from the current time.

 

The syntax for this macro is %[Seconds]

 

Example

 

If the %[Seconds] macro is used to specify watermark text and current time is 12:33 and 09 seconds then '09' is inserted:

 

seconds.macro.example

Figure 1. Add Watermark Dialog Box, %[Seconds] 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],%[Seconds] output the hour followed by the minutes of the hour and the seconds of the minute:

 

seconds.macro.example.two

Figure 2. %[Seconds] Combined Macro Example