  dat = new Date();
 
  month = dat.getMonth();
  monthname = new Array();
  monthname[0] = "januar";
  monthname[1] = "februar";
  monthname[2] = "mart";
  monthname[3] = "april";
  monthname[4] = "maj";
  monthname[5] = "jun";
  monthname[6] = "jul";
  monthname[7] = "avgust";
  monthname[8] = "septembar";
  monthname[9] = "oktobar";
  monthname[10] = "novembar";
  monthname[11] = "decembar";

  day = dat.getDate();

  year = dat.getFullYear();
  document.write('<span>' + day + '. ' + monthname[month] + ' ' + year + '.' + '</span>');
