Open sw82 opened 4 years ago
Yes.
document.addEventListener('DOMContentLoaded', function() {
var getDaysFuture = new Date('2020-07-28T00:00:00').getTime() / 1000;
// Set up FlipDown
var flipdown = new FlipDown(getDaysFuture).start()
// Do something when the countdown ends
.ifEnded(function() {
console.log('The countdown has ended!');
});
});
So this would be a feature that shows the time elapsed since a specific date?