html part Copy code The code is as follows: js part Copy code The code is as follows: <br> $(document).ready(function(){ <br> setInterval(function(){ <br> $(".time_wrap").each(function(){ <br> var Obj = this; <br> var EndTime = new Date(parseInt($(Obj).attr('value')) * 1000); <br> var NowTime = new Date(); <br> var nMS=EndTime.getTime() - NowTime. getTime(); <br> var nD=Math.floor(nMS/(1000 * 60 * 60 * 24)); <br> var nH=Math.floor(nMS/(1000*60*60)) % 24; <br> var nm = math.floor (nms/(1000*60)) % 60; <br> var ns = math.floor (nms/1000) % 60; <br> var nms = math.floor (nms/nms/ " ' nH '</em>hours<em>' nM '</em>minutes<em>' nS '.' nMS '</em>seconds</span>'; (Obj).html(str); 🎜><br> </div>