moment convert ddmmyy hhmmss to timestamp code example Example: javascript moment m = moment('2013-03-01', 'YYYY-MM-DD')