<?xml version="1.0" encoding="ISO-8859-1"?>

<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
	<channel>
		<title>Ask Me Help Desk - Other Programming</title>
		<link>http://www.askmehelpdesk.com</link>
		<description />
		<language>en</language>
		<lastBuildDate>Sun, 22 Nov 2009 02:02:12 GMT</lastBuildDate>
		<generator>vBulletin</generator>
		<ttl>60</ttl>
		<image>
			<url>http://www.askmehelpdesk.com/amhd_imgs/misc/rss.jpg</url>
			<title>Ask Me Help Desk - Other Programming</title>
			<link>http://www.askmehelpdesk.com</link>
		</image>
		<item>
			<title>SAS - Intervals between two dates for a fixed variable</title>
			<link>http://www.askmehelpdesk.com/other-programming/sas-intervals-between-two-dates-fixed-variable-417722.html</link>
			<pubDate>Fri, 20 Nov 2009 09:24:16 GMT</pubDate>
			<description>Hey There, 
I am trying to count the number of actual days between two dates for a fixed variable i.e. 
mr x buys a bag of chips on 01jan2009 then again on 05jan2009 and again on 25jan2009  and again on 27 jan2009 and so on.  I am trying to get the number of days elapsed between each purchase for...</description>
			<content:encoded><![CDATA[<div>Hey There,<br />
I am trying to count the number of actual days between two dates for a fixed variable i.e.<br />
mr x buys a bag of chips on 01jan2009 then again on 05jan2009 and again on 25jan2009  and again on 27 jan2009 and so on.  I am trying to get the number of days elapsed between each purchase for each customer in a table containing mulitple customers, multiple dates.  <br />
DATDIF needs a start and end date so if more than two dates appear, this would not work.  Please can someone help with the applied script that would return variables:<br />
01jan2009 = 0<br />
05Jan2009 = 4<br />
25jan2009 = 20<br />
27jan2009 = 2<br />
Thanks :eek:</div>

]]></content:encoded>
			<category domain="http://www.askmehelpdesk.com/other-programming/">Other Programming</category>
			<dc:creator>skappy</dc:creator>
			<guid isPermaLink="true">http://www.askmehelpdesk.com/other-programming/sas-intervals-between-two-dates-fixed-variable-417722.html</guid>
		</item>
	</channel>
</rss>
