PageSourceSearch

https://podhorod.sk/idsk/themes/default/js/datetime.js

js podhorod.sk collected 2026-10-02 23:56:32 UTC 756 bytes, 26 lines download raw bytes

1$(document).ready(function(){
2  //Date
3  var dnes = new Date();
4  var den = dnes.getDate();
5  var mesiac = dnes.getMonth() + 1;
6  var rok = dnes.getFullYear();
7
8  // Formátovanie dátumu
9  var datumFormat = den + '.' + mesiac + '.' + rok;
10
11  // Zobrazenie dátumu na stránke
12  $('.slider_date_text p').text(datumFormat);
13  //Time
14  function aktualizujCas() {
15  var teraz = new Date();
16  var hodiny = String(teraz.getHours()).padStart(2, '0');
17  var minuty = String(teraz.getMinutes()).padStart(2, '0');
18  var sekundy = String(teraz.getSeconds()).padStart(2, '0');
19  var aktualnyCas = hodiny + ':' + minuty + ':' + sekundy;
20  $('.slider_time_text p').text(aktualnyCas);
21}
22
23aktualizujCas();
24setInterval(aktualizujCas, 1000);
25
26});

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.