Ask mastersworld



Only days till christmas

Would you like to know how to create a countdown for your site?

There is a small ammount of java script required here it is below.


<script language="javascript" type="text/javascript">    
today  = new Date();  todayEpoch  = today.getTime();    
target = new Date("25 Dec, 2014");   targetEpoch = target.getTime();    
daysLeft = Math.floor(((targetEpoch - todayEpoch) / (60*60*24)) / 1000);  
<h1>DoD your text here    <script>document.write(daysLeft);</script>    Your text here?   </h1>  
All you have to do is replace the text "Your text here"

You could use this code for all kinds of ideas

How about a birthday reminder for the wife :) assuming you need one


Wifes birthday in days. Are you ready?

Just make sure the answer is yes to this one or you will be for the chop






Tutorials on a wide range of computer related issues, if there is a tutorial you would like to see on my site then please email me here. If you prefer you can leave a request here. My aim is to provide as much free pc help online as I can. Sometime this is not enough so for all the people who live near Rednal Birmingham. You can look at my PC service options which are very competitive.








If this tutorial has helped please leave feedback by clicking this link

If there is a tutorial you would like to see on this website please ask here