<?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: Date range query using SQLite and AIR</title>
	<atom:link href="http://www.zedia.net/2009/date-range-query-using-sqlite-and-air/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.zedia.net/2009/date-range-query-using-sqlite-and-air/</link>
	<description>Flash, ActionScript, SEO and everything in between</description>
	<lastBuildDate>Sat, 04 Feb 2012 08:16:43 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: dinko</title>
		<link>http://www.zedia.net/2009/date-range-query-using-sqlite-and-air/comment-page-1/#comment-7248</link>
		<dc:creator>dinko</dc:creator>
		<pubDate>Thu, 23 Jun 2011 11:48:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.zedia.net/?p=362#comment-7248</guid>
		<description>&lt;a href=&quot;#comment-3471&quot; rel=&quot;nofollow&quot;&gt;@ Arnaud&lt;/a&gt; 
Thanks! It worked perfectly!
Regards,
Dinko</description>
		<content:encoded><![CDATA[<p><a href="#comment-3471" rel="nofollow">@ Arnaud</a><br />
Thanks! It worked perfectly!<br />
Regards,<br />
Dinko</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Fabio</title>
		<link>http://www.zedia.net/2009/date-range-query-using-sqlite-and-air/comment-page-1/#comment-5579</link>
		<dc:creator>Fabio</dc:creator>
		<pubDate>Thu, 11 Nov 2010 12:27:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.zedia.net/?p=362#comment-5579</guid>
		<description>there&#039;s an error in the UTCToJulianDay method, the right method is
function UTCToJulianDay(newDate:Date):Number{
		  return ((newDate.time - (newDate.getTimezoneOffset() * 60000))  / 86400000 + 2440587.5);
		}
Thanks for the great job!</description>
		<content:encoded><![CDATA[<p>there&#8217;s an error in the UTCToJulianDay method, the right method is<br />
function UTCToJulianDay(newDate:Date):Number{<br />
		  return ((newDate.time &#8211; (newDate.getTimezoneOffset() * 60000))  / 86400000 + 2440587.5);<br />
		}<br />
Thanks for the great job!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Luie</title>
		<link>http://www.zedia.net/2009/date-range-query-using-sqlite-and-air/comment-page-1/#comment-5142</link>
		<dc:creator>Luie</dc:creator>
		<pubDate>Thu, 20 May 2010 21:19:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.zedia.net/?p=362#comment-5142</guid>
		<description>Is there any way to prompt user for enter the date they want, then generate the report?</description>
		<content:encoded><![CDATA[<p>Is there any way to prompt user for enter the date they want, then generate the report?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: francois jacquier</title>
		<link>http://www.zedia.net/2009/date-range-query-using-sqlite-and-air/comment-page-1/#comment-3931</link>
		<dc:creator>francois jacquier</dc:creator>
		<pubDate>Mon, 24 Aug 2009 12:08:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.zedia.net/?p=362#comment-3931</guid>
		<description>good complementary information at http://www.verysimple.com/blog/2008/09/09/working-with-dates-in-flex-air-and-sqlite/</description>
		<content:encoded><![CDATA[<p>good complementary information at <a href="http://www.verysimple.com/blog/2008/09/09/working-with-dates-in-flex-air-and-sqlite/" rel="nofollow">http://www.verysimple.com/blog/2008/09/09/working-with-dates-in-flex-air-and-sqlite/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Charlie Hubbard</title>
		<link>http://www.zedia.net/2009/date-range-query-using-sqlite-and-air/comment-page-1/#comment-3771</link>
		<dc:creator>Charlie Hubbard</dc:creator>
		<pubDate>Mon, 29 Jun 2009 19:25:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.zedia.net/?p=362#comment-3771</guid>
		<description>You don&#039;t need to write your own conversion routine since SQLite provides one for you.  All you have to do is call strftime(&quot;%J&quot;, date).  For example:

select * from SomeTable where create_at &gt; strftime( &quot;%J&quot;, startDate ) and strftime( &quot;%J&quot;, endDate )

That will convert it to Julian for you.</description>
		<content:encoded><![CDATA[<p>You don&#8217;t need to write your own conversion routine since SQLite provides one for you.  All you have to do is call strftime(&#8220;%J&#8221;, date).  For example:</p>
<p>select * from SomeTable where create_at &gt; strftime( &#8220;%J&#8221;, startDate ) and strftime( &#8220;%J&#8221;, endDate )</p>
<p>That will convert it to Julian for you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Arnaud</title>
		<link>http://www.zedia.net/2009/date-range-query-using-sqlite-and-air/comment-page-1/#comment-3471</link>
		<dc:creator>Arnaud</dc:creator>
		<pubDate>Thu, 23 Apr 2009 10:32:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.zedia.net/?p=362#comment-3471</guid>
		<description>Hello,
If your date is stored as a Date by your AIR app, you can also make the following
SELECT * FROM myTable
WHERE date(dateField) BETWEEN &quot;2009-02-01&quot; AND &quot;2009-02-28&quot;

This is much more simple and there is no need to convert data excepted by the date() function in the query but nothing in the actionscript code.
It actualy depends on your specific needs ;)

Cheers

Arnaud</description>
		<content:encoded><![CDATA[<p>Hello,<br />
If your date is stored as a Date by your AIR app, you can also make the following<br />
SELECT * FROM myTable<br />
WHERE date(dateField) BETWEEN &#8220;2009-02-01&#8243; AND &#8220;2009-02-28&#8243;</p>
<p>This is much more simple and there is no need to convert data excepted by the date() function in the query but nothing in the actionscript code.<br />
It actualy depends on your specific needs <img src='http://www.zedia.net/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>Cheers</p>
<p>Arnaud</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Russ</title>
		<link>http://www.zedia.net/2009/date-range-query-using-sqlite-and-air/comment-page-1/#comment-3369</link>
		<dc:creator>Russ</dc:creator>
		<pubDate>Fri, 06 Mar 2009 16:48:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.zedia.net/?p=362#comment-3369</guid>
		<description>You can also format the date column to match the date format you want.
something like this:
SELECT strftime(&#039;%d-%m-%Y&#039;, recordedDate) AS theDate, FROM myTable WHERE theDate  BETWEEN &#039;02-02-2009&#039; AND  &#039;13-02-2009&#039;

...russ</description>
		<content:encoded><![CDATA[<p>You can also format the date column to match the date format you want.<br />
something like this:<br />
SELECT strftime(&#8216;%d-%m-%Y&#8217;, recordedDate) AS theDate, FROM myTable WHERE theDate  BETWEEN &#8217;02-02-2009&#8242; AND  &#8217;13-02-2009&#8242;</p>
<p>&#8230;russ</p>
]]></content:encoded>
	</item>
</channel>
</rss>

