website promotion banner
eturnkeys
Your Ad Here
Web Programming  Home Web Programming JavaScript Count Down
rss

Count Down

Author: Kyscorp.com More by this author


Count DownThis will let you count the number of days remaining to reach a given event : for instance days left before we reach the year 2007:

<script language="javascript">

function chrono()
{
jour=Date.parse("Jan 1, 2004 GMT") - Date.parse(new Date);
return(Math.round(jour/(24*60*60*1000)))
}
document.write("Still "+chrono()+" days before we reach the year 2007");

</script>

Of course it is possible to change this to any date you want.

Next you can see the example!



Rate this Material: Bad 1 2 3 4 5 Excellent
print this page tell a friend subscribe to newsletter subscribe to rss

Add comments to "Count Down"