moment time format react native code example Example: moment for react npm install --save moment react-moment