JavaScript API: addDateTime

addDateTime

PREMIUM TRIAL / ADVANCED

Adds date and time.

Note

You are reading the JavaScript API documentation. For the PHP API method please go to addDateAndHour.

Description
addDateTime (options: OptionsDateTime = {}, optionsParagraph: OptionsParagraph = {}): this
Code samples

Example #1

The resulting Word document looks like:

Release notes
  • phpdocx 15.0:
    • new method.