Template talk:Uspop
From Wikipedia, the free encyclopedia
{{#expr: 299886984 + daily_increase * ( {{date serial|{{CURRENTMONTH}}|{{CURRENTDAY}}}} - {{date serial|10|2}} ) }}
299,886,984 on October 2, 2006 plus an increase of 8,640 per day. See the Census Bureau's U.S. POPClock Projection. --Uncle Ed 19:51, 2 October 2006 (UTC)
Note: daily_increase is actually 86,400 / 11 (one new person every 11 seconds). --Uncle Ed 13:13, 11 October 2006 (UTC)
- The US pop clock estimate is 299,965,789. The current display here is: 299,973,389
- Does it update only once per day?
- I suspect it's somewhere between 10.5 seconds and 11 seconds --JimWae 00:49, 13 October 2006 (UTC)
-
- The figures agree to within 99.997% which is far better than the accuracy of the estimate. No one thinks the U.S. Census is much better than 99.8% or 99.9% (around half a million people aren't counted). What's 0.5 / 300 ?
-
- Our copy updates at midnight, Greenwich time, once a day. When it reaches 300 million, I'll reset the "base" and the daily_increase. --Uncle Ed 14:04, 13 October 2006 (UTC)
I have changed the daily increment so that it does not get so far ahead of the pop clock - though it still needs tweaking. Btw, the uspopcomma template wipes out leading zeroes so that when 300 million is reached it will look like 300,, or something similar, then later 300,1,1. Can you fix that? --JimWae 05:13, 17 October 2006 (UTC)
- I think I've fixed it, although I was in too much of a rush to test it thoroughly before saving the fix. Please review my code! --Uncle Ed 13:54, 17 October 2006 (UTC)
- {{formatnum:{{#expr: 300000000 + (11000) * {{Age in days|month1=10|day1=17|year1=2006}} }} }} returns 301,848,000 w/o needing extra uspopcommas template --JimWae 05:05, 1 January 2007 (UTC)
[edit] Days to milestone
Daily increase =
I expect estimated U.S. population to top 300 million on October 17, 2006. --Uncle Ed 14:22, 13 October 2006 (UTC)