var str = '';
if(timeff >= 86400)
{
var d = parseInt(timeff/86400)
timeff = (timeff%86400);
str +=d+':';
}
if(timeff >= 3600){
var h= parseInt(timeff/3600)
timeff = (timeff%3600);
str +=h+':';
}
if(timeff >= 60){
var m=parseInt(timeff/60);
timeff = (timeff%60);
str +=m+':';
}
var s = timeff;
str +=s;