<?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>Newbie Questions</title><link>https://www.infopathdev.com:443/forums/39.aspx</link><description>New to InfoPath? Search to see if your question has already been answered. If it has not, then ask it here or the appropriate topic forum.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Formula to calculate number of days</title><link>https://www.infopathdev.com:443/forums/thread/119887.aspx</link><pubDate>Thu, 27 Sep 2018 03:42:35 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:119887</guid><dc:creator>niken</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/119887.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=119887</wfw:commentRss><description>For number of days between 2 dates, I&amp;#39;d use calculated field column type and put the DATEDIF formula in the column setting in the SP list setting..not in info path designer. 
Then for number of days between today and a date, I&amp;#39;d create a date column in my list, then have a site workflow to update that date column everyday. There&amp;#39;s other option of using job/task scheduler, but I don&amp;#39;t know how.</description></item><item><title>Re: Formula to calculate number of days</title><link>https://www.infopathdev.com:443/forums/thread/119759.aspx</link><pubDate>Thu, 06 Sep 2018 15:08:03 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:119759</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/119759.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=119759</wfw:commentRss><description>&lt;p&gt;There isn&amp;#39;t anything like this out of the box, which is awful, I know. There are blog posts that describe how to do this with some helper fields - here&amp;#39;s one: &lt;a href="http://www.bizsupportonline.net/infopath2007/calculate-date-difference-infopath-rules-formulas.htm"&gt;http://www.bizsupportonline.net/infopath2007/calculate-date-difference-infopath-rules-formulas.htm&lt;/a&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Formula to calculate number of days</title><link>https://www.infopathdev.com:443/forums/thread/119754.aspx</link><pubDate>Wed, 05 Sep 2018 16:52:43 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:119754</guid><dc:creator>Manman25</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/119754.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=119754</wfw:commentRss><description>Hi,

My form has a start and end date picker.  I would like to know what would be the formula to calculate the number of days since the end date and number of days between the two.  I am new  to  infopath  and only has infopath 2013 and no designer.

I tried the following formula
[End Date]-[Start Date] 
now()-[End Date]

and it doesn’t calculate anything , just leaves it as NaN.

I am searching online and there are some suggestions to use DATEIF but I can’t find this function in info path .

Is there a formula where I can input in the formula box that will 1) calculate the number of days between two
Dates 2) number for days from End Date til now?

Many thanks!!</description></item></channel></rss>