Example of parsing and formatting a Date with Moment JS.
DateTime format and manipulation
jQuery 1.9.1, HTML, CSS, JavaScript
author(s): Torstein Hønsi
Compares two numbers, returns the larger one
No-Library (pure JS), HTML, CSS, JavaScript