|
Post by Wormopolis on Dec 11, 2009 8:15:21 GMT -8
<script type="text/javascript"> <!-- // future date code
// establish starting date stDate=new Date(); stDate.setFullYear(2009, 11, 10); //starting example dec 10, 2009
// establish faux date fDate=new Date(); fDate.setFullYear(2075, 10, 28); //example nov 28, 2075
tDate=new Date();
betweener=(fDate-stDate)/(1000*60*60*24); //days between tDate.setDate(tDate.getDate()+betweener); document.write(tDate.toDateString());
//--> </script>
|
|