Month

<< Click to Display Table of Contents >>

Navigation:  Appendix > Macros >

Month


 

Editor-Icon 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 current month is April then the %[Month] macro inserts "04":

 

month.macro.example

Figure 1. %[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. %[Month] Combined Macro Example