...
The template document for this demo is a blank calendar with Word merge fields in every date block. The code in this demo reads your determines the current month and year inputsusing a DateTime Object, does some calendar calculations (eg, figuring out which day of the week the month begins on and how many days are in the month), and finally pushes the date, month, and year data into the document with WordTemplate.
...