PageSourceSearch

https://akham.netlify.app/js/clock.js

js akham.netlify.app collected 2026-10-03 10:25:58 UTC 750 bytes, 24 lines download raw bytes

1
2setInterval(() => {
3    let date = new Date();
4
5    let hours = date.getHours();
6    let minutes = date.getMinutes();
7    let seconds = date.getSeconds(); 
8
9    document.getElementById('hours').innerHTML = hours
10    document.getElementById('minutes').innerHTML = ":"+minutes
11    document.getElementById('seconds').innerHTML = ":"+seconds
12
13    if (hours < 10){
14    document.getElementById('hours').innerHTML = "0" + hours
15    }
16    if (minutes < 10){
17        document.getElementById('minutes').innerHTML = ":"+ "0"+ minutes
18    }
19    if (seconds < 10){
20        document.getElementById('seconds').innerHTML = ":" + "0" + seconds
21    }    
22}, 1000);
23
24// set interval just repeats the process every one second that "1000" below the code means one second

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.