Posts How to use moment.js in your Angular projects
Post
Cancel

How to use moment.js in your Angular projects

  1. Install Moment in your app
1
npm install moment --save
  1. Import Moment in the component TS file where you plan to use it
This post is licensed under CC BY 4.0 by the author.