Canada Builds

World Population

This counter shows a javascript algorithm counting the worlds population

Current world population (estimated): .

August 4, 2014, 3:54 am - 7,266,632,580

September 3, 2014, 1:02 am - 7,274,000,440

October 23, 2015, 1:58 am - 7,376,338,722

November 24, 2017, 3:07 am - 7,564,497,923

This free script provided by
JavaScript Kit

Here is the Javascript code for the counter.

<script type="text/javascript">
/*
* World Populution Counter - By JavaScript Kit (http://www.javascriptkit.com)
* Based on code by Adam Brown
* This notice MUST stay intact for use
* Visit JavaScript Kit (http://www.javascriptkit.com) for this script and more
*/
function maind()
{startdate = new Date()
now(startdate.getYear(),startdate.getMonth(),startdate.getDate(),startdate.getHours(),startdate.getMinutes(),startdate.getSeconds())}
function ChangeValue(number,pv)
{numberstring =""
var j=0
var i=0
while (number > 1)
{ numberstring = (Math.round(number-0.5) % 10) + numberstring
number=number / 10
j=j+1
if (number > 1 && j==3) {numberstring = "," + numberstring
j=0}
i=i+1 }
numberstring=numberstring
if (pv==1) {document.getElementById("worldpop").innerHTML=numberstring }}
function now(year,month,date,hours,minutes,seconds)
{startdatum = new Date(year,month,date,hours,minutes,seconds)
var now = 5600000000.0
var now2 = 5690000000.0
var groeipercentage = (now2 - now) / now *100
var groeiperseconde = (now * (groeipercentage/100))/365.0/24.0/60.0/60.0
nu = new Date ()
schuldstartdatum = new Date (96,1,1)
secondenoppagina = (nu.getTime() - startdatum.getTime())/1000
totaleschuld= (nu.getTime() - schuldstartdatum.getTime())/1000*groeiperseconde + now
ChangeValue(totaleschuld,1);

timerID=setTimeout("now(startdatum.getYear(),startdatum.getMonth(),startdatum.getDate(),startdatum.getHours(),startdatum.getMinutes(),startdatum.getSeconds())",200)
}
window.onload=maind
</script>

Current world population (estimated): <span id="worldpop" style="font-weight: bold"></span>.