<script>   date=new Date();    year=date.getFullYear();    alert(year);</script>