• 1Installation
  • 2Date/Time Parsing
  • 3Date/Time Manipulation
  • 4Date/Time Display

Moment.apex

  • Docs
  • Tutorials
Getting started with Moment.apex

Date/Time Parsing

To parse Date/Time from strings, create an instance of Moment like this:

new Moment('2018/01/18 14:20:00', 'yyyy/MM/dd HH:mm:ss');
Done