Начало
Часы
Дни
Сколько времени у Вас была та работа? Сколько дней - Вы? Найдите ответы на эти вопросы и больше!
JavaScript Clocks: дни
&<SCRIPT LANGUAGE="JavaScript"> <! > <! > <!-- Begin var montharray=new Array("Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"); function countup(yr,m,d) { var today=new Date(); var todayy=today.getYear(); // // if ((navigator.appName == "Microsoft Internet Explorer") && (todayy < 2000)) todayy="19" + todayy; if (navigator.appName == "Netscape") todayy=1900 + todayy; var todaym=today.getMonth(); var todayd=today.getDate(); var todaystring=montharray[todaym]+" "+todayd+", "+todayy; var paststring=montharray[m-1]+" "+d+", "+yr; var difference=(Math.round((Date.parse(todaystring)-Date.parse(paststring))/(24*60*60*1000))*1); document.write("JSS was created " + difference + " days ago."); } countup(1997,08,29); // Date in format: (year,month,day) // End --> </script> <!-- Script Size: 0.99 KB -->