ďťż
Podstrony
|
telcocafemam pytanko "jaki kod trzeba wpisać aby na stronie zmieniała się automatycznie data". bez zmieniania mechanicznego<script language="Javascript"> <!-- Hide it // Returns today's date in a string with full day and month names // by Roger C. Scudder Jr. on 10-2-98 // corrected for Netscape by Grzegorz Golebiewski DayName = new Array(7) DayName[0] = "niedziela " DayName[1] = "poniedziałek " DayName[2] = "wtorek " DayName[3] = "¶roda " DayName[4] = "czwartek " DayName[5] = "pi±tek " DayName[6] = "sobota " MonthName = new Array(12) MonthName[0] = "stycznia " MonthName[1] = "lutego " MonthName[2] = "marca " MonthName[3] = "kwietnia " MonthName[4] = "maja " MonthName[5] = "czerwca " MonthName[6] = "lipca " MonthName[7] = "sierpnia " MonthName[8] = "wrze¶nia " MonthName[9] = "paÄ˝dziernika " MonthName[10] = "listopada " MonthName[11] = "grudnia " function getDateStr(){ var Today = new Date() var WeekDay = Today.getDay() var Month = Today.getMonth() var Day = Today.getDate() var Year = Today.getFullYear() if(Year <= 99) Year += 1900 return DayName[WeekDay] + "," + " " + Day + " " + MonthName[Month] + ", " + Year } //--> </script> <script> document.write("Dzisiaj jest " + getDateStr()) </script></font> Dzięuję bardzo |
|||
Sitedesign by AltusUmbrae. |