i am using jQuery Countdown: http://keith-wood.name/countdown.html
Example usage of this script is:
$(selector).countdown({since: new Date(2010, 12-1, 25)});
You have to set the full date, what if i have only total amount of time in seconds? I mean i want to set countdown from 50000 seconds and automatically transform it in to a days:hours:seconds?
You would have to get the current date and add 50000 seconds to it. You could do it like the following
JSFiddle Example