Skip to content

Instantly share code, notes, and snippets.

View jake-armour's full-sized avatar
🐢

Jake Armour jake-armour

🐢
View GitHub Profile

Keybase proof

I hereby claim:

  • I am jake-armour on github.
  • I am arm0ur (https://keybase.io/arm0ur) on keybase.
  • I have a public key ASDqEJ3JcfszHGonYcAK02TWcFspN_7RplMgXPCatwVuowo

To claim this, I am signing this object:

@jake-armour
jake-armour / main.js
Last active March 6, 2022 17:46
Code challenge for Chiliz
/*
* Your program must print string with the number of years and months and the total number of days between the dates.
* Dates are provided in dd.mm.yyyy format.
* You are not allowed to plug in JS libraries such as moment.js or date-fns directly into the code. All code need to be written in this file.
*
* Result must be shown as a string in years, months and total days. If years or months are 0, then it should not be displayed in the output.
*
* Example:
* Input: ['01.01.2000', '01.01.2016']
* Output: