<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.infopathdev.com:443/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>General</title><link>https://www.infopathdev.com:443/forums/41.aspx</link><description>If you're not sure where to ask your question, ask it here. If necessary, our moderators will make sure it gets classified in the correct board.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: How to calc diff of 2 dates</title><link>https://www.infopathdev.com:443/forums/thread/6873.aspx</link><pubDate>Tue, 31 May 2005 15:29:26 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:6873</guid><dc:creator>fillar</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/6873.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=6873</wfw:commentRss><description>I use the following VB code in an InfoPath project to count the difference in weeks.&lt;br /&gt;&lt;br /&gt;TextBox1.Text = "Weeks from today: " &amp; DateDiff("w", date1.Text, date2.Text)&lt;br /&gt;&lt;br /&gt;You should be able to change the "w" to "y".  Of course I don't have the InfoPath objects referenced in this example.</description></item><item><title>How to calc diff of 2 dates</title><link>https://www.infopathdev.com:443/forums/thread/4686.aspx</link><pubDate>Mon, 30 May 2005 12:36:52 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:4686</guid><dc:creator>liorlankri</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/4686.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=4686</wfw:commentRss><description>I have a form withe 2 Date Picker!&lt;br /&gt;I have form's code in c#. &lt;br /&gt;How to calc the diff between 2 dates?&lt;br /&gt;(I need the result in years!!!)</description></item></channel></rss>