<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Count up timer in PHP</title>
	<atom:link href="http://www.scriptygoddess.com/archives/2002/05/23/count-up-timer-in-php/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.scriptygoddess.com/archives/2002/05/23/count-up-timer-in-php/</link>
	<description></description>
	<lastBuildDate>Wed, 01 Sep 2010 23:07:01 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Frank</title>
		<link>http://www.scriptygoddess.com/archives/2002/05/23/count-up-timer-in-php/comment-page-1/#comment-12680</link>
		<dc:creator>Frank</dc:creator>
		<pubDate>Sun, 26 Sep 2004 03:17:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.scriptygoddess.com/archives/2002/05/23/count-up-timer-in-php/#comment-12680</guid>
		<description>Thanks for re-visiting this Jennifer! And for your help :)</description>
		<content:encoded><![CDATA[<p>Thanks for re-visiting this Jennifer! And for your help <img src='http://www.scriptygoddess.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jennifer</title>
		<link>http://www.scriptygoddess.com/archives/2002/05/23/count-up-timer-in-php/comment-page-1/#comment-12678</link>
		<dc:creator>Jennifer</dc:creator>
		<pubDate>Sat, 25 Sep 2004 20:11:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.scriptygoddess.com/archives/2002/05/23/count-up-timer-in-php/#comment-12678</guid>
		<description>Should add that that line should end with a semicolon... so here it is again:
&lt;strong&gt;$start = &quot;2004-09-25 09:20:00&quot;;&lt;/strong&gt;</description>
		<content:encoded><![CDATA[<p>Should add that that line should end with a semicolon&#8230; so here it is again:<br />
<strong>$start = &#034;2004-09-25 09:20:00&#034;;</strong></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jennifer</title>
		<link>http://www.scriptygoddess.com/archives/2002/05/23/count-up-timer-in-php/comment-page-1/#comment-12677</link>
		<dc:creator>Jennifer</dc:creator>
		<pubDate>Sat, 25 Sep 2004 20:10:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.scriptygoddess.com/archives/2002/05/23/count-up-timer-in-php/#comment-12677</guid>
		<description>It&#039;s been awhile since I worked on this script - but since the start time is being created using the &quot;&lt;a href=&quot;http://us4.php.net/manual/en/function.strtotime.php&quot;&gt;strtotime&lt;/a&gt;&quot; function, I would imagine you could simply do this too:
&lt;strong&gt;$start = &quot;2004-09-25 09:20:00&quot;&lt;/strong&gt;</description>
		<content:encoded><![CDATA[<p>It&#039;s been awhile since I worked on this script &#8211; but since the start time is being created using the &#034;<a href="http://us4.php.net/manual/en/function.strtotime.php">strtotime</a>&#034; function, I would imagine you could simply do this too:<br />
<strong>$start = &#034;2004-09-25 09:20:00&#034;</strong></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Frank</title>
		<link>http://www.scriptygoddess.com/archives/2002/05/23/count-up-timer-in-php/comment-page-1/#comment-12675</link>
		<dc:creator>Frank</dc:creator>
		<pubDate>Sat, 25 Sep 2004 12:55:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.scriptygoddess.com/archives/2002/05/23/count-up-timer-in-php/#comment-12675</guid>
		<description>This is exactly what I was looking for! How can I input a specific *time* of day (hrs, min, secs)?

Thanks</description>
		<content:encoded><![CDATA[<p>This is exactly what I was looking for! How can I input a specific *time* of day (hrs, min, secs)?</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: MeagerBox</title>
		<link>http://www.scriptygoddess.com/archives/2002/05/23/count-up-timer-in-php/comment-page-1/#comment-12640</link>
		<dc:creator>MeagerBox</dc:creator>
		<pubDate>Sun, 19 Sep 2004 15:33:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.scriptygoddess.com/archives/2002/05/23/count-up-timer-in-php/#comment-12640</guid>
		<description>The countdown script only works for a few years... I tried to use it for a lifespan script showing how much time I have left as an average life span... if I put in 2037 or before that as the year it works fine, if I put in 2038 or later it breaks and says they day is already over.

anyone have an answer to this?</description>
		<content:encoded><![CDATA[<p>The countdown script only works for a few years&#8230; I tried to use it for a lifespan script showing how much time I have left as an average life span&#8230; if I put in 2037 or before that as the year it works fine, if I put in 2038 or later it breaks and says they day is already over.</p>
<p>anyone have an answer to this?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lonney</title>
		<link>http://www.scriptygoddess.com/archives/2002/05/23/count-up-timer-in-php/comment-page-1/#comment-12340</link>
		<dc:creator>Lonney</dc:creator>
		<pubDate>Fri, 13 Aug 2004 15:01:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.scriptygoddess.com/archives/2002/05/23/count-up-timer-in-php/#comment-12340</guid>
		<description>I&#039;d like to also specify the hours and minutes in the start date.</description>
		<content:encoded><![CDATA[<p>I&#039;d like to also specify the hours and minutes in the start date.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gary</title>
		<link>http://www.scriptygoddess.com/archives/2002/05/23/count-up-timer-in-php/comment-page-1/#comment-7121</link>
		<dc:creator>Gary</dc:creator>
		<pubDate>Wed, 30 Nov -0001 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.scriptygoddess.com/archives/2002/05/23/count-up-timer-in-php/#comment-7121</guid>
		<description>This is just what I was looking for to express the time I&#039;ve been blogging in years, months, and days. I currently have a js to do that, but returns # days only. Tried this and it works...but it&#039;s way off, accuracy wise. In my test, the correct days blogging is 266. Using this script returned 0 years, 8 months, 4 days. Even if every month had 31 days, that&#039;s waaaayyy off. Any idea why? Would much prefer php vs. js!</description>
		<content:encoded><![CDATA[<p>This is just what I was looking for to express the time I&#039;ve been blogging in years, months, and days. I currently have a js to do that, but returns # days only. Tried this and it works&#8230;but it&#039;s way off, accuracy wise. In my test, the correct days blogging is 266. Using this script returned 0 years, 8 months, 4 days. Even if every month had 31 days, that&#039;s waaaayyy off. Any idea why? Would much prefer php vs. js!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jennifer</title>
		<link>http://www.scriptygoddess.com/archives/2002/05/23/count-up-timer-in-php/comment-page-1/#comment-7122</link>
		<dc:creator>Jennifer</dc:creator>
		<pubDate>Wed, 30 Nov -0001 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.scriptygoddess.com/archives/2002/05/23/count-up-timer-in-php/#comment-7122</guid>
		<description>Ugh!!! Ok - I will look into it. You&#039;ll be hearing from me :)</description>
		<content:encoded><![CDATA[<p>Ugh!!! Ok &#8211; I will look into it. You&#039;ll be hearing from me <img src='http://www.scriptygoddess.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jennifer</title>
		<link>http://www.scriptygoddess.com/archives/2002/05/23/count-up-timer-in-php/comment-page-1/#comment-7123</link>
		<dc:creator>Jennifer</dc:creator>
		<pubDate>Wed, 30 Nov -0001 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.scriptygoddess.com/archives/2002/05/23/count-up-timer-in-php/#comment-7123</guid>
		<description>Figured it out - you can&#039;t just remove part of the display - ie. if you don&#039;t have it display the number of weeks - it will still have removed those from the &quot;count&quot; - the calculation was correct... with the full display it would have shown:
0 years, 8 months, &lt;b&gt;3 weeks, &lt;/b&gt;4 days... that IS correct :)</description>
		<content:encoded><![CDATA[<p>Figured it out &#8211; you can&#039;t just remove part of the display &#8211; ie. if you don&#039;t have it display the number of weeks &#8211; it will still have removed those from the &#034;count&#034; &#8211; the calculation was correct&#8230; with the full display it would have shown:<br />
0 years, 8 months, <b>3 weeks, </b>4 days&#8230; that IS correct <img src='http://www.scriptygoddess.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gary</title>
		<link>http://www.scriptygoddess.com/archives/2002/05/23/count-up-timer-in-php/comment-page-1/#comment-7124</link>
		<dc:creator>Gary</dc:creator>
		<pubDate>Wed, 30 Nov -0001 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.scriptygoddess.com/archives/2002/05/23/count-up-timer-in-php/#comment-7124</guid>
		<description>Taking a break from my tasty crow dinner, here&#039;s a modification to the last full script code posted here if you only want years, months, and days to dispaly as the output. This orphans the hours, minutes, seconds...but I think that&#039;s livable! There may be a more elegant way to do this...just know it worked when I tested it. Replace the last section with this code:
&lt;p&gt;
&lt;? echo $years ?&gt; years,
&lt;? echo $months ?&gt; months,
&lt;? echo $weeks*7+$days ?&gt; days 
&lt;? echo $text ?&gt;
&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Taking a break from my tasty crow dinner, here&#039;s a modification to the last full script code posted here if you only want years, months, and days to dispaly as the output. This orphans the hours, minutes, seconds&#8230;but I think that&#039;s livable! There may be a more elegant way to do this&#8230;just know it worked when I tested it. Replace the last section with this code:<br />
&lt;p&gt;<br />
&lt;? echo $years ?&gt; years,<br />
&lt;? echo $months ?&gt; months,<br />
&lt;? echo $weeks*7+$days ?&gt; days<br />
&lt;? echo $text ?&gt;<br />
&lt;/p&gt;</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.468 seconds -->
