Answer the question
In order to leave comments, you need to log in
How to properly set up the script?
Hello, I don't understand scripts, I need your help:
<script>var time=new Date();document.write('<b>' + Math.floor(((time.getTime()/1000) - $TIMESTAMP$)/86400) + '</b>');
if(time % 10 == 1)
time += " день назад";
else if(time % 10 == 2 || time % 10 == 3 || time % 10 == 4)
time += " дня назад";
else
time += " дней назад";
document.write(time);</script>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question