<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://stockhub.co/index.php?action=history&amp;feed=atom&amp;title=Module%3APopulation_clocks</id>
	<title>Module:Population clocks - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://stockhub.co/index.php?action=history&amp;feed=atom&amp;title=Module%3APopulation_clocks"/>
	<link rel="alternate" type="text/html" href="https://stockhub.co/index.php?title=Module:Population_clocks&amp;action=history"/>
	<updated>2026-04-20T02:14:43Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.5</generator>
	<entry>
		<id>https://stockhub.co/index.php?title=Module:Population_clocks&amp;diff=144381&amp;oldid=prev</id>
		<title>imported&gt;Kaldari: Copying from test2 for tutorial use, written by User:Uncle G</title>
		<link rel="alternate" type="text/html" href="https://stockhub.co/index.php?title=Module:Population_clocks&amp;diff=144381&amp;oldid=prev"/>
		<updated>2013-05-15T00:32:05Z</updated>

		<summary type="html">&lt;p&gt;Copying from test2 for tutorial use, written by &lt;a href=&quot;/index.php?title=User:Uncle_G&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;User:Uncle G (page does not exist)&quot;&gt;User:Uncle G&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;--require &amp;quot;math&amp;quot;&lt;br /&gt;
&lt;br /&gt;
local z = {}&lt;br /&gt;
&lt;br /&gt;
function MJDN(date)&lt;br /&gt;
    local floor = math.floor&lt;br /&gt;
    local a = floor((14 - date.mon) / 12)&lt;br /&gt;
    local y = date.year + 4800 - a&lt;br /&gt;
    local m = date.mon + 12 * a - 3&lt;br /&gt;
    return date.day + floor((153 * m + 2) / 5) + 365 * y + floor(y / 4) - floor(y / 100) + floor(y / 400) - 2432046&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function dayssince(epoch, now)&lt;br /&gt;
    return MJDN(now) - MJDN(epoch)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
-- The population clock for India uses these data:&lt;br /&gt;
-- -- According to the 2011 census there were 1,21,01,93,422 people on 2011-03-01 00:00:00 +0530.&lt;br /&gt;
-- -- According to the 2011 census the 2001-2011 decadal growth rate was 17.64%.&lt;br /&gt;
-- Growth is slowing according to the census, so this is an OVER-estimate.&lt;br /&gt;
-- http://censusindia.gov.in/2011-prov-results/PPT_2.html&lt;br /&gt;
function z.india (frame)&lt;br /&gt;
    local pframe = frame:getParent()&lt;br /&gt;
    local args = pframe.args -- the arguments passed TO the template, in the wikitext that instantiates the template&lt;br /&gt;
    local config = frame.args -- the arguments passed BY the template, in the wikitext of the template itself&lt;br /&gt;
    local now = { year=config.as_of_year, mon=config.as_of_month, day=config.as_of_day }&lt;br /&gt;
    return 1210193422 + 58455.12 * dayssince({year=2011,mon=2,day=28}, now)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return z&lt;/div&gt;</summary>
		<author><name>imported&gt;Kaldari</name></author>
	</entry>
</feed>