1function calculateDifference(toDate) 2{ 3 result=""; 4 now =new Date(); 5 delta = toDate - now - (30 * 86400000); 6 days = String(parseInt(delta/86400000)); 7 hours = String(parseInt((delta - (days*86400000))/3600000)); 8 if(hours.length==1) 9 hours="0" + hours; 10 minutes = String(parseInt((delta - (days*86400000) - (hours*3600000))/60000)); 11 if(minutes.length==1) 12 minutes="0" + minutes; 13 seconds = String(parseInt((delta - (days*86400000) - (hours*3600000) - (minutes*60000) )/1000)); 14 if(seconds.length==1) 15 seconds="0" + seconds; 16 17 if(days>0) 18 result+=days + " ×××× "; 19 20 result+=hours + ":" + minutes + ":" + seconds; 21 return result; 22} 23
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.