thanks ahead of time for any help...

I have this code
<script type="text/javascript">
var currentTime = new Date()
var year = currentTime.getFullYear() - 1
document.write(year)
</script>...