Клуб WEB Мастеров
Пн, 21.07.2025, 06.39.43
[ Обновленные темы · Новые сообщения · Участники · Правила форума · Поиск · RSS ]
  • Страница 1 из 1
  • 1
Обратны отчет
KazrexДата: Пт, 23.12.2011, 23.39.21 | Сообщение # 1
Admin
Группа: Администраторы
Сообщений: 570
Статус: Ofline
Code


<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();

   

// Y2K Fix by Isaac Powell

// http://onyx.idbsu.edu/~ipowell

   

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("Я родилсия " + difference + " дней назад.");

   

}

countup(1911,01,01);  //Укажите здесь дату:  (year,month,day)

//  End -->

</script>



suite

New York
  • Страница 1 из 1
  • 1
Поиск:
KAZREX © 2025