Datum a čas

Příklad vložení aktuálního roku:

<script>
  document.write(new Date().getFullYear());
</script>