Skip to content

Latest commit

 

History

History
7 lines (6 loc) · 348 Bytes

ex_20.md

File metadata and controls

7 lines (6 loc) · 348 Bytes

Exercise 20

  • Create a new index20.js file
  • Define a day variable and assign todays day number (number)
  • Define a month variable and assign todays month number (number) (from 1 to 12)
  • Define a year variable and assign todays year (number) (4 digits)
  • Use a template variable to show the date with the following format: d/m/yyyy