<script type="text/javascript"> var a=new Date(2010, 12, 29, 3, 4, 1, 0); var year = a.getFullYear(); alert(year); </script>