JavaScript field: Difference between revisions

Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 39: Line 39:


== Functions to work with the date ==
== Functions to work with the date ==
You can enable integrated library [http://momentjs.com/ moment.js] to work with the date and time. Click ''JavaScript Libraries'' and choose ''moment.min.js''.<br />
You can enable integrated library [http://momentjs.com/ '''moment.js'''] to work with the date and time. Click '''''JavaScript Libraries''''' and choose '''''moment.min.js'''''.


Some examples. If record contains the data field whose value is 18 March 2016 14:55<br />
Some examples. If record contains the data field whose value is 18 March 2016 14:55


Example of Format dates
Example of Format dates
Line 63: Line 63:
</source>
</source>


More information about library features on http://momentjs.com
More information about library features on '''http://momentjs.com'''


== Examples ==
== Examples ==