Scripting: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 4: | Line 4: | ||
== Native Memento Calculation scripting == | == Native Memento Calculation scripting == | ||
Scripting for the Calculation field type | Scripting for the Calculation field type is described in '''[[Calculation field]]'''. | ||
Scripting in | Scripting in JavaScriptis available in '''[[JavaScript field]]''' and '''[[Triggers]]'''. | ||
== Scripting Memento in JavaScript == | == Scripting Memento in JavaScript == |
Revision as of 09:33, 12 December 2016
« Page as of 2016-11-04, editions Mobile 4.0.0, Desktop 1.0.6 »
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 in JavaScriptis available in JavaScript field and Triggers.
Scripting Memento in JavaScript
The JavaScript field type
JavaScript scripting for Memento Triggers
moment.min.js — a possibly useful wrapper for JavaScript dates & times
See http://momentjs.com and its subordinate pages Guides and Docs.
- Tidbit
- To get the current date, use moment().toDate(). To get the current date & time, use moment().toDate().getTime().