You really ought to use Google for this type of question.
There are lots of scripts which return the date last modified, including one close to home at:-
http://www.javascriptkit.com/script/cut8.shtml
I do not understand
tell me result:
y=++x x,y=?
y=x++ x,y=?
but you should study your textbook for this sort of thing, i.e how assignment operators work. You can find out many things by simple experiment:-
<script type="text/javascript">
y = 10;
z = ++y;
alert (z); // 11
</script>