Ostatnia modyfikacja strony w JS ostatnia, modyfikacja, strony, datedocumentlastmodified
nbsplm_year=agetyear
nbspif,
ltscript, language=quotjavascriptquot, lm_yearlt1000if, type=quottextjavascriptquotgt
lt
nbspvar, lm_year=1900+lm_year, lm_daylt10lm_day=0+lm_day, ostatnia, modyfikacja, strony, w, js, datedocumentlastmodified
nbsplm_year=agetyear
nbspif,
ltscript, language=quotjavascriptquot, lm_yearlt1000if, type=quottextjavascriptquotgt
lt
nbspvar, lm_year=1900+lm_year, lm_daylt10lm_day=0+lm_day, lm_yearlt70lm_year=2000+lm_year
nbspnbspelse, a
nbspa=new, lm_monthlt10lm_month=0+lm_month, lm_day=agetdate
nbspif, lm_hour=agethours
nbspif, modyfikacjaltbr, lm_minute=agetminutes
nbspif, lm_minutelt10lm_minute=0+lm_minutenbsplm_second=agetseconds
nbspif, lm_secondlt10lm_second=0+lm_second
nbspdocumentwritequotostatnia, lm_hourlt10lm_hour=0+lm_hour, lm_day++lm_month++lm_year+ampnbsp, gtquot, +, +lm_hour++lm_minute++lm_second
, gt
ltscriptgt, lm_month=agetmonth+1
nbspif,
Piątek 04 Kwiecień 2025r.
Godz 00:00:00
Postów: 251
Ostatnia modyfikacja strony w JS
<script language="JavaScript" type="text/javascript">
<!--
var a;
a=new Date(document.lastModified);
lm_year=a.getYear();
if (lm_year<1000){if (lm_year<70){lm_year=2000+lm_year;}
else lm_year=1900+lm_year;} lm_month=a.getMonth()+1;
if (lm_month<10){lm_month='0'+lm_month;} lm_day=a.getDate();
if (lm_day<10){lm_day='0'+lm_day;} lm_hour=a.getHours();
if (lm_hour<10){lm_hour='0'+lm_hour;} lm_minute=a.getMinutes();
if (lm_minute<10){lm_minute='0'+lm_minute;} lm_second=a.getSeconds();
if (lm_second<10){lm_second='0'+lm_second;}
document.write("Ostatnia modyfikacja:<br />" + lm_day+'.'+lm_month+'.'+lm_year+' '+lm_hour+':'+lm_minute+':'+lm_second);
// -->
</script>
Darmowy hosting zapewnia PRV.PL