moment date javascript code example Example: javascript moment m = moment('2013-03-01', 'YYYY-MM-DD')