Skip to content


The moment module in Studio is the transposition of its open source project on GitHub and has the same functionalities of its counterpart. See the related documentation on GitHub to learn how to use this module.

When in Studio you install the moment module in your project, Studio modifies the main.jr file to insert this statement at the beginning of the file:

var moment = require('modules/moment');

The statement above sets a variable with an instance of the module so that you can use it inside event handling functions.