Commit 347aa607 authored by sebalis's avatar sebalis

Update date.js

parent 104c57cb
/* jshint esversion: 6 */
// The date parameter is actually the day of month, if absent then 1 is assumed.
// Same for days.
const lastScandalDate = new Date(2019, 4, 12);
const lastScandalDate = new Date(2019, 4, 21);
const currentDate = Date.now();
let outputDate = Math.floor((currentDate - lastScandalDate) / 24 / 3600 / 1000);
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment