formating date in nicely formated way react code example Example: react date format npm install moment --save