<?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: Flex 3: compare two dates</title>
	<atom:link href="http://www.stoimen.com/blog/2009/05/12/flex-3-compare-two-dates/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.stoimen.com/blog/2009/05/12/flex-3-compare-two-dates/</link>
	<description>about web development</description>
	<lastBuildDate>Fri, 03 Feb 2012 22:35:35 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Joel Backschat</title>
		<link>http://www.stoimen.com/blog/2009/05/12/flex-3-compare-two-dates/comment-page-1/#comment-15100</link>
		<dc:creator>Joel Backschat</dc:creator>
		<pubDate>Thu, 02 Feb 2012 16:51:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.stoimen.com/blog/?p=556#comment-15100</guid>
		<description>Very nice!</description>
		<content:encoded><![CDATA[<p>Very nice!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matthew Luke</title>
		<link>http://www.stoimen.com/blog/2009/05/12/flex-3-compare-two-dates/comment-page-1/#comment-14451</link>
		<dc:creator>Matthew Luke</dc:creator>
		<pubDate>Wed, 12 Oct 2011 06:20:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.stoimen.com/blog/?p=556#comment-14451</guid>
		<description>if( date1.toString() == date2.toString() ) { } to test equality.  Use any other operators to make different comparisons</description>
		<content:encoded><![CDATA[<p>if( date1.toString() == date2.toString() ) { } to test equality.  Use any other operators to make different comparisons</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lenin.G</title>
		<link>http://www.stoimen.com/blog/2009/05/12/flex-3-compare-two-dates/comment-page-1/#comment-14195</link>
		<dc:creator>Lenin.G</dc:creator>
		<pubDate>Fri, 18 Feb 2011 04:46:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.stoimen.com/blog/?p=556#comment-14195</guid>
		<description>i am new in flex..can u help me... how to compare two dates... i written function in to date of date field....anyone can suggest for my problem</description>
		<content:encoded><![CDATA[<p>i am new in flex..can u help me&#8230; how to compare two dates&#8230; i written function in to date of date field&#8230;.anyone can suggest for my problem</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tahir Azeem Alvi</title>
		<link>http://www.stoimen.com/blog/2009/05/12/flex-3-compare-two-dates/comment-page-1/#comment-14150</link>
		<dc:creator>Tahir Azeem Alvi</dc:creator>
		<pubDate>Wed, 12 Jan 2011 07:47:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.stoimen.com/blog/?p=556#comment-14150</guid>
		<description>Hi,

i have a problem face from last day.

The problem is that i want to run a countdown Timer. The timer is start from two dates
1. current date (as New Date()).
2. the immediate Monday (as new Date(&quot;Mon Jan 17 2011&quot;))

The problem is with 2nd date.

How i dynamically find the next Monday date ?.


Thanks and welcome for Help.</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>i have a problem face from last day.</p>
<p>The problem is that i want to run a countdown Timer. The timer is start from two dates<br />
1. current date (as New Date()).<br />
2. the immediate Monday (as new Date(&#8220;Mon Jan 17 2011&#8243;))</p>
<p>The problem is with 2nd date.</p>
<p>How i dynamically find the next Monday date ?.</p>
<p>Thanks and welcome for Help.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: self fish</title>
		<link>http://www.stoimen.com/blog/2009/05/12/flex-3-compare-two-dates/comment-page-1/#comment-12745</link>
		<dc:creator>self fish</dc:creator>
		<pubDate>Wed, 31 Mar 2010 15:20:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.stoimen.com/blog/?p=556#comment-12745</guid>
		<description>@onir - It&#039;s working man</description>
		<content:encoded><![CDATA[<p>@onir &#8211; It&#8217;s working man</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: onir</title>
		<link>http://www.stoimen.com/blog/2009/05/12/flex-3-compare-two-dates/comment-page-1/#comment-12613</link>
		<dc:creator>onir</dc:creator>
		<pubDate>Wed, 17 Mar 2010 14:27:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.stoimen.com/blog/?p=556#comment-12613</guid>
		<description>I&#039;m not sure I manage this  work. Can help please?</description>
		<content:encoded><![CDATA[<p>I&#8217;m not sure I manage this  work. Can help please?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stoimen</title>
		<link>http://www.stoimen.com/blog/2009/05/12/flex-3-compare-two-dates/comment-page-1/#comment-9825</link>
		<dc:creator>Stoimen</dc:creator>
		<pubDate>Mon, 30 Nov 2009 08:48:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.stoimen.com/blog/?p=556#comment-9825</guid>
		<description>Hi,

I&#039;m not sure you can achieve this with some built in functionality of Flex. You&#039;d better make a method to do that. It should check for weekends and exclude them, so when you pass two dates it can check the number of week days.

greetings,
stoimen</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I&#8217;m not sure you can achieve this with some built in functionality of Flex. You&#8217;d better make a method to do that. It should check for weekends and exclude them, so when you pass two dates it can check the number of week days.</p>
<p>greetings,<br />
stoimen</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pmani</title>
		<link>http://www.stoimen.com/blog/2009/05/12/flex-3-compare-two-dates/comment-page-1/#comment-9824</link>
		<dc:creator>pmani</dc:creator>
		<pubDate>Mon, 30 Nov 2009 08:36:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.stoimen.com/blog/?p=556#comment-9824</guid>
		<description>i am new for flex ,can u help me?
i want to  find the number of dates from one date to another except saturday and sunday(ex:number of dates is 7 means ,today is starting date(11/30/2009) the end date should be 12/8/2009 (exclude sundays and saturday)</description>
		<content:encoded><![CDATA[<p>i am new for flex ,can u help me?<br />
i want to  find the number of dates from one date to another except saturday and sunday(ex:number of dates is 7 means ,today is starting date(11/30/2009) the end date should be 12/8/2009 (exclude sundays and saturday)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joseph Hillhouse</title>
		<link>http://www.stoimen.com/blog/2009/05/12/flex-3-compare-two-dates/comment-page-1/#comment-3991</link>
		<dc:creator>Joseph Hillhouse</dc:creator>
		<pubDate>Sun, 26 Jul 2009 03:29:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.stoimen.com/blog/?p=556#comment-3991</guid>
		<description>I always mess up code :). The first if statement should be with the comparison changed and likewise the 2nd one:

...

if(ObjectUtil.dateCompare(date1, date2) == -1){

...

else if (ObjectUtil.dateCompare(date1, date2) == 0){

...</description>
		<content:encoded><![CDATA[<p>I always mess up code <img src='http://www.stoimen.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> . The first if statement should be with the comparison changed and likewise the 2nd one:</p>
<p>&#8230;</p>
<p>if(ObjectUtil.dateCompare(date1, date2) == -1){</p>
<p>&#8230;</p>
<p>else if (ObjectUtil.dateCompare(date1, date2) == 0){</p>
<p>&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joseph Hillhouse</title>
		<link>http://www.stoimen.com/blog/2009/05/12/flex-3-compare-two-dates/comment-page-1/#comment-3990</link>
		<dc:creator>Joseph Hillhouse</dc:creator>
		<pubDate>Sun, 26 Jul 2009 03:25:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.stoimen.com/blog/?p=556#comment-3990</guid>
		<description>I forgot to put public in front of the function so it should say:

....

public function compareDates(date1:Date, date2:Date):void{

....</description>
		<content:encoded><![CDATA[<p>I forgot to put public in front of the function so it should say:</p>
<p>&#8230;.</p>
<p>public function compareDates(date1:Date, date2:Date):void{</p>
<p>&#8230;.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

