document.addEventListener('DOMContentLoaded', function() {
function updateDate() {
var currentDate = new Date();
var formattedDate = currentDate.toLocaleDateString('ru-RU', {
day: '2-digit',
month: '2-digit',
year: 'numeric'
});
document.getElementById('current-date').textContent = formattedDate;
}
updateDate();
setInterval(updateDate, 10800000);
});