Follow along with the video below to see how to install our site as a web app on your home screen.
Бележка: This feature may not be available in some browsers.
<body onLoad="chas()">
<script type="text/javascript">
function chas(){
var vreme= new Date();
var weekday=new Array(7)
weekday[0]="Неделя"
weekday[1]="Понеделник"
weekday[2]="Вторник"
weekday[3]="Сряда"
weekday[4]="Четвъртък"
weekday[5]="Петък"
weekday[6]="Събота"
var month=new Array(12)
month[0]="Януари"
month[1]="Февруари"
month[2]="Март"
month[3]="Април"
month[4]="Май"
month[5]="Юни"
month[6]="Юли"
month[7]="Август"
month[8]="Септември"
month[9]="Октомври"
month[10]="Ноември"
month[11]="Декември"
var year = vreme.getFullYear();
var hh = vreme.getHours();
var mm = vreme.getMinutes();
var ss = vreme.getSeconds();
var dd = vreme.getDay();
if( hh <=9 ) hh = "0"+hh;
if( mm <=9 ) mm = "0"+mm;
if( ss <=9 ) ss = "0"+ss;
document.getElementById('time').innerHTML= weekday[vreme.getDay()] + " , " + dd +" " + month[vreme.getUTCMonth()] + " " + year +" , " + hh+":"+mm+":"+ss;
window.setTimeout("chas()",1000);
}
</script>
<div id="time"></div>