how to use moment in react js code example Example: moment for react npm install --save moment react-moment