MomentJS library

Moment is a library with handy methods for date and time manipulations. By making use of the moment object in scripts, you can use the MomentJS library.

Extensive documentation can be found on

Setting the locale

Default locale is US but can be changed by entering the following instruction:



The following example shows how you can

var date = '2017-09-10'
var jsDate = moment(date);

This will show 2017-09-10T00:00:00+00:00 in the logs.

results matching ""

    No results matching ""