topical media & game development
basic-javascript-appendix-4-ch04-q1.htm / htm
<HTML>
<BODY>
<SCRIPT>
var months = new Array("Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec");
var nowDate = new Date();
nowDate.setMonth(nowDate.getMonth() + 12)
document.write("Date 12 months ahead is " + nowDate.getDate())
document.write(" " + months[nowDate.getMonth()])
document.write(" " + nowDate.getFullYear())
</SCRIPT>
</BODY>
</HTML>
(C) Æliens
20/2/2008
You may not copy or print any of this material without explicit permission of the author or the publisher.
In case of other copyright issues, contact the author.