»
AnglaisFran�aisVietnamien

Imprimer - Old Days - JavaScriptBank.com

Version compl�te: jsB@nk » Calcul » Old Days
URL: https://www.javascriptbank.com/days-old.html

Old Days © JavaScriptBank.comCombien de temps avez-vous eu cet emploi? Combien de jours êtes-vous? Trouvez les réponses à ces questions et bien plus encore!

Version compl�te: jsB@nk » Calcul » Old Days
URL: https://www.javascriptbank.com/days-old.html



HTML
<SCRIPT LANGUAGE="JavaScript">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("<b>JavaScriptBank.com was created " + difference + " days ago.</b>");}countup(2004,04,30);  // Date in format:  (year,month,day)</script><!--    This script downloaded from www.JavaScriptBank.com    Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->