covert ISO string to utc moment code example Example 1: moment js print date moment(testDate).format('MM/DD/YYYY'); Example 2: momentjs docs npm install moment