Skip to content

Latest commit

 

History

History
13 lines (7 loc) · 364 Bytes

README.md

File metadata and controls

13 lines (7 loc) · 364 Bytes

Get Date After x Days

Given an index.js file parallel to README.md file.

Write a JS function that accepts days as an argument and return the date after given number of days from 22nd Aug 2020 using the date-fns package.

Export the function using the default export syntax.

Date Format

DD-MM-YYYY

Use Common JS module syntax.