JavaScript: Copyright Year Generation
Just because a bunch of people wanted me to release this. Here's a little JavaScript I wrote that you can place in your copyright statement to keep your year up to date. Just put it where you want the year to display:
HTML Code:
<script type="text/javascript"> d = new Date(); y = d.getFullYear(); document.write(y); </script> HTML Code:
<script type="text/javascript">d = new Date();y = d.getFullYear();document.write(y);</script> A JS file attached just in case you want to keep it as a back up. Thanks to Gasper for reminding me to put in the text/javascript tag. Also, this works with any version of vBulletin (or should) and can be seen on vB.org. Download
copyrightyear.js.zip (627 Bytes, 90 downloads) |