<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Eddie On Everything &#187; Calculators</title>
	<atom:link href="http://www.eddieoneverything.com/tag/calculators/feed" rel="self" type="application/rss+xml" />
	<link>http://www.eddieoneverything.com</link>
	<description>Tips &#38; tricks on things that interest me</description>
	<lastBuildDate>Wed, 11 Jan 2012 08:29:23 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Chipotle Calorie Calculator</title>
		<link>http://www.eddieoneverything.com/nutrition/chipotle-calorie-calculator.php</link>
		<comments>http://www.eddieoneverything.com/nutrition/chipotle-calorie-calculator.php#comments</comments>
		<pubDate>Fri, 26 Mar 2010 03:47:04 +0000</pubDate>
		<dc:creator>eddie</dc:creator>
				<category><![CDATA[nutrition]]></category>
		<category><![CDATA[Calculators]]></category>
		<category><![CDATA[calories]]></category>
		<category><![CDATA[chipotle]]></category>
		<category><![CDATA[nutrition calculator]]></category>

		<guid isPermaLink="false">http://www.eddieoneverything.com/?p=1097</guid>
		<description><![CDATA[I&#8217;ve made calorie calculators for both Subway and Blimpie.  
Mariah suggested that I make a calculator for Chipotle as well &#8211; so I did!
You can find the Chipotle Calorie Calculator here.
You&#8217;ll note that I&#8217;ve also added a Nutrition database section to this website &#8211; I hope you find it useful as well.
Chipotle Calorie Calculator
Related [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve made calorie calculators for both <a href="http://www.eddieoneverything.com/nutrition_info/calculators/Subway_calorie-calculator">Subway</a> and <a href="http://www.eddieoneverything.com/nutrition_info/calculators/Blimpie_calorie-calculator.php">Blimpie</a>.  </p>
<p><a href="http://www.eddieoneverything.com/articles/how-many-calories-are-in-a-subway-sub.php">Mariah</a> suggested that I make a calculator for Chipotle as well &#8211; so I did!</p>
<p>You can find the <a href="http://www.eddieoneverything.com/nutrition_info/calculators/Chipotle_calorie-calculator ">Chipotle Calorie Calculator here</a>.</p>
<p>You&#8217;ll note that I&#8217;ve also added a Nutrition database section to this website &#8211; I hope you find it useful as well.</p>
<p><big><big><a href="http://www.eddieoneverything.com/nutrition_info/calculators/Chipotle_calorie-calculator">Chipotle Calorie Calculator</a></big></big></p>
<h2  class="related_post_title">Related Posts</h2><ul class="related_post"><li><a href="http://www.eddieoneverything.com/calculators/blimpie-sub-calorie-calculator.php" title="Blimpie Sub Calorie Calculator">Blimpie Sub Calorie Calculator</a></li><li><a href="http://www.eddieoneverything.com/calculators/subway-sandwich-calorie-carb-nutrition-calculator.php" title="Subway Sandwich Calorie &#038; Carb Nutrition Calculator">Subway Sandwich Calorie &#038; Carb Nutrition Calculator</a></li><li><a href="http://www.eddieoneverything.com/nutrition/jimmy-johns-nutritional-information.php" title="Jimmy John&#8217;s Nutritional Information">Jimmy John&#8217;s Nutritional Information</a></li><li><a href="http://www.eddieoneverything.com/recipes/berry-peach-smoothie-with-soy-milk.php" title="Berry Peach Smoothie With Soy Milk">Berry Peach Smoothie With Soy Milk</a></li><li><a href="http://www.eddieoneverything.com/exercise/how-many-calories-are-burned-in-a-spinning-class.php" title="How Many Calories Are Burned in a Spinning Class?">How Many Calories Are Burned in a Spinning Class?</a></li><li><a href="http://www.eddieoneverything.com/nutrition/panera-bread-nutritional-information.php" title="Panera Bread Nutritional Information">Panera Bread Nutritional Information</a></li><li><a href="http://www.eddieoneverything.com/nutrition/carbs-in-eggs.php" title="Carbs In Eggs?">Carbs In Eggs?</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.eddieoneverything.com/nutrition/chipotle-calorie-calculator.php/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Calculate the Days Since a Given Date (Javascript)</title>
		<link>http://www.eddieoneverything.com/programming/calculate-the-days-since-a-given-date-javascript.php</link>
		<comments>http://www.eddieoneverything.com/programming/calculate-the-days-since-a-given-date-javascript.php#comments</comments>
		<pubDate>Sat, 14 Nov 2009 23:12:28 +0000</pubDate>
		<dc:creator>eddie</dc:creator>
				<category><![CDATA[Calculators]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[code]]></category>

		<guid isPermaLink="false">http://www.eddieoneverything.com/?p=258</guid>
		<description><![CDATA[I recently needed to calculate the number of days that had elapsed since a given date.  Not happy with any of the code snippets I found on the internet, I wrote my own.  A demo is below, along with the the javascript code.  Note that the code uses a bit of dynamic [...]]]></description>
			<content:encoded><![CDATA[<p>I recently needed to calculate the number of days that had elapsed since a given date.  Not happy with any of the code snippets I found on the internet, I wrote my own.  A demo is below, along with the the javascript code.  Note that the code uses a bit of dynamic HTML so no page refresh is necessary.  The answer will appear beneath the form.</p>
<p>Feel free to use these in your projects.</p>
<div class="q">
<h3>Demo &#8211; Calculate the number of days since a given date</h3>
<p><script type="text/javascript" src="/js/daysSince.js"></script></p>
<form id="theForm" name="theForm" method=POST>
<br />Day<br />
<input type=text name=day id="day">
<br />Month<br />
<input type=text name=month id="month">
<br />Year<br />
<input type=text name=year id="year">
<input type=button onclick='daysSince(document.getElementById("month").value,document.getElementById("day").value,document.getElementById("year").value)' value ="Calculate days since">
<p>
<div id="result"></div>
</form>
</div>
<p>To get this to work on your website, you&#8217;ll need the following javascript function, along with the HTML file below.</p>
<p>The JavaScript:</p>
<pre name="code" class="javascript">
function daysSince(m,d,y){
   if (d == '' || m=='' || y==''){
      alert ("All fields must be entered");
      return;
   }

   if (isNaN(m) || isNaN(y) || isNaN(d)){
      alert("Only numbers .");
      return;
   }

   var myDate=new Date();
   var yourDate=new Date(y,m-1,d);

   var secondsInADay = 1000*60*60*24;
   var diff = Math.floor( (myDate.getTime() - yourDate.getTime()) / secondsInADay );
   document.getElementById("result").innerHTML= "It has been " +
      diff + " days since " + m + "/" + d + "/" + y +".";
}
</pre>
<p>The HTML:</p>
<pre name="code" class="HTML">
<form action ="" id="theForm" name="theForm">
Day
<input type=text name=day id="day">
Month
<input type=text name=month id="month">
Year
<input type=text name=year id="year">
<input type=button onclick='daysSince(document.getElementById("month").value,document.getElementById("day").value,document.getElementById("year").value)' value ="Calculate days since">
<div id="result"></div>
</form>
</pre>
<p>If you make any useful alterations, feel free to share them in the comments.</p>
<h2  class="related_post_title">Related Posts</h2><ul class="related_post"><li><a href="http://www.eddieoneverything.com/articles/how-to-scan-a-computer-for-open-ports.php" title="How to Scan a Computer for Open Ports">How to Scan a Computer for Open Ports</a></li><li><a href="http://www.eddieoneverything.com/articles/the-zen-of-taco-bell-programming-using-unix-tools-to-prevent-reinventing-the-wheel.php" title="The Zen of Taco Bell Programming &#8211; Using Unix Tools to Prevent Reinventing the Wheel">The Zen of Taco Bell Programming &#8211; Using Unix Tools to Prevent Reinventing the Wheel</a></li><li><a href="http://www.eddieoneverything.com/programming/how-to-use-global-variables-from-another-file-in-a-perl-module-or-package.php" title="How To Use Global Variables From Another File In A Perl Module or Package">How To Use Global Variables From Another File In A Perl Module or Package</a></li><li><a href="http://www.eddieoneverything.com/programming/getting-phps-print_r-function-to-return-a-string.php" title="Getting PHP&#8217;s print_r Function To Return A String">Getting PHP&#8217;s print_r Function To Return A String</a></li><li><a href="http://www.eddieoneverything.com/programming/how-to-set-a-class-name-using-javascript-in-ie-and-other-browsers.php" title="How To Set a Class Name using Javascript in IE and Other Browsers">How To Set a Class Name using Javascript in IE and Other Browsers</a></li><li><a href="http://www.eddieoneverything.com/programming/calibre-recipe-for-minneapolis-star-tribune-startribune-com.php" title="Calibre Recipe for Minneapolis Star Tribune (StarTribune.com)">Calibre Recipe for Minneapolis Star Tribune (StarTribune.com)</a></li><li><a href="http://www.eddieoneverything.com/linux/argument-list-too-long-from-rm-command-a-perl-script-to-get-around-the-problem.php" title="&#8220;Argument list too long&#8221; from rm command.   A Perl Script to Get Around the Problem">&#8220;Argument list too long&#8221; from rm command.   A Perl Script to Get Around the Problem</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.eddieoneverything.com/programming/calculate-the-days-since-a-given-date-javascript.php/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

