From Memento Database Wiki
Jump to: navigation, search
« as of 2017-01-13, editions Mobile 4.2.1, Desktop 1.0.7 »

This page is a stub, with some tidbits. A more complete page is forthcoming.

Native Memento Calculation scripting

Scripting for the Calculation field type is described in Calculation field.

Scripting Memento in JavaScript

Scripting in JavaScript is available in JavaScript field and Triggers.

The JavaScript field type


JavaScript scripting for Memento Triggers


moment.min.js — a possibly useful wrapper for JavaScript dates & times

See and its subordinate pages Guides and Docs.

To get the current date, use moment().toDate(). To get the current date & time, use moment().toDate().getTime().