1 2var echteInitialValue = 107252183; //99884170; 3//Aantal verhoging per second (8910/86400 seconden per dag) 4var counter = 0.0385764; // 3333 / 24 / 60 / 60 5//0.103125; //8910 / 24 / 60 /60; 6 7var startDate = new Date(2022,5,9,11,25,0,0);//new Date(2019, 5, 25, 12, 0, 0, 0); 8var currentDate = new Date();//2019, 6, 8, 12, 0, 0, 0 9 10var dif = currentDate.getTime() - startDate.getTime(); 11//console.log(startDate); 12//console.log(currentDate); 13//console.log(startDate.getTime()); 14//console.log(currentDate.getTime()); 15//console.log(dif); 16 17var Seconds_from_T1_to_T2 = dif / 1000; 18var Seconds_Between_Dates = Seconds_from_T1_to_T2; 19var initialValue = echteInitialValue + (Seconds_Between_Dates * counter); 20 21$(function () { 22 counterWithCommas(initialValue); 23 setInterval(function () { 24 initialValue = initialValue + counter; 25 counterWithCommas(initialValue); 26 }, 1000); 27}); 28 29function counterWithCommas(value) { 30 $('.cartridge-counter').text(addCommas(Math.round(value))); 31} 32 33function addCommas(nStr) { 34 nStr += ''; 35 var x = nStr.split('.'); 36 var x1 = x[0]; 37 var x2 = x.length > 1 ? '.' + x[1] : ''; 38 var rgx = /(\d+)(\d{3})/; 39 while (rgx.test(x1)) { 40 x1 = x1.replace(rgx, '$1' + ',' + '$2'); 41 } 42 return x1 + x2; 43}
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.