current_date = new Date();
date = current_date.getDate();
day = current_date.getDay();
month = current_date.getMonth() + 1;
year = current_date.getYear();
if (year < 2000) { year = year + 1900; }
hours = current_date.getHours();
minutes = current_date.getMinutes();
seconds = current_date.getSeconds();
if (month <10) {
month = "0" + month;
}
if (minutes <10) {
minutes = "0" + minutes;
}
document.write(date + "." + month +  "." + year + " | " + hours + ":" + minutes + ":" + seconds + " ");