I am working on a portal which is basically using a jquery plugin called countdown i.e. https://github.com/hilios/jQuery.countdown
The piece of code is:
$(document).ready(function(){
$("#countdown").countdown("2022/06/25 10:00:00", function(event) {
var $this = $(this).html(event.strftime(''
+ '%-D Days'
});
How can I make it in reverse? Instead of counting it down to the date, is it possible to count from the date? and display how many days it's been.
Any help would be highly appreciated.