Coding Challenge: Playing with Dates

Let's practice an exercise on Node.js. See if you can solve it on your own!

We'll cover the following

Problem statement

The npm package moment is very popular for managing dates and times. Load this package and use it to:

  • Display the current date
  • Compute the number of years since 1976, November 26th

Expected output:

Get hands-on with 1200+ tech skills courses.