<?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: Calculating number Days using today()/now()</title><link>https://www.infopathdev.com:443/forums/thread/125510.aspx</link><pubDate>Tue, 21 May 2024 16:58:56 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:125510</guid><dc:creator>Froman</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/125510.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=125510</wfw:commentRss><description>I thought about using designer, but as I have little control over the server and designer has a hard time scheduling flows, it can only run on the weekend (complex situation) I actually managed to figure a way to do this, my formula is way overly complicated, but I think it&amp;#39;s going to work. Thanks so much for your reply, you got me on the right path!!!

(substring(today(), 9, 2) + ((153 * (substring(today(), 6, 2) + 12 * ((14 - substring(today(), 6, 2)) / 12) - 3) + 2) / 5) + 365 * (substring(today(), 1, 4) + 4800 - ((14 - substring(today(), 6, 2)) / 12)) + ((substring(today(), 1, 4) + 4800 - ((14 - substring(today(), 6, 2)) / 12)) / 4) - 32083) - (substring(AssignedDate, 9, 2) + ((153 * (substring(AssignedDate, 6, 2) + 12 * ((14 - substring(AssignedDate, 6, 2)) / 12) - 3) + 2) / 5) + 365 * (substring(AssignedDate, 1, 4) + 4800 - ((14 - substring(AssignedDate, 6, 2)) / 12)) + ((substring(AssignedDate, 1, 4) + 4800 - ((14 - substring(AssignedDate, 6, 2)) / 12)) / 4) - 32083)</description></item><item><title>Re: Calculating number Days using today()/now()</title><link>https://www.infopathdev.com:443/forums/thread/125509.aspx</link><pubDate>Tue, 21 May 2024 16:53:11 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:125509</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/125509.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=125509</wfw:commentRss><description>The forum server is being a bit of a slow poke - I may try to restart it tonight or tomorrow. It may have eaten your edit. :-) If your data is coming from another list, what about just adding a column to that list with the date diff? I know SharePoint won&amp;#39;t dynamically update that if calculated, but perhaps a scheduled workflow of some kind could do the trick? If you are using SharePoint Online, I&amp;#39;d just use a scheduled Flow to update the column and have it run every day at midnight or something... not sure what the options are with SharePoint Designer.</description></item><item><title>Re: Calculating number Days using today()/now()</title><link>https://www.infopathdev.com:443/forums/thread/125508.aspx</link><pubDate>Tue, 21 May 2024 16:35:38 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:125508</guid><dc:creator>Froman</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/125508.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=125508</wfw:commentRss><description>thanks so much Hilary, I&amp;#39;ll take a look at this right away. although I have an added wrinkle and I&amp;#39;m not sure if it will make things easier or impossible. I tried to edit my post but I don&amp;#39;t think it worked. What I am trying to do is to present this information in a form from another list, so I am using a query to grab dates from my main list and present it in a repeating table, so i am not saving this or picking dates. I&amp;#39;m pulling saved dates and trying to run them through a formula. I attached my form (very simple) but it shows essentially what I&amp;#39;m trying to do.</description></item><item><title>Re: Calculating number Days using today()/now()</title><link>https://www.infopathdev.com:443/forums/thread/125507.aspx</link><pubDate>Tue, 21 May 2024 16:23:41 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:125507</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/125507.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=125507</wfw:commentRss><description>It is surprisingly hard to do this. Here&amp;#39;s a post with a sample approach: https://ankursharepoint.wordpress.com/2011/05/23/calculate-the-difference-between-two-date-picker-controls-in-infopath-using-rules-and-formulas-no-code/</description></item><item><title>Calculating number Days using today()/now()</title><link>https://www.infopathdev.com:443/forums/thread/125506.aspx</link><pubDate>Tue, 21 May 2024 16:03:46 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:125506</guid><dc:creator>Froman</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/125506.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=125506</wfw:commentRss><description>I&amp;#39;m trying to create a formula that is today - &amp;quot;assigned date&amp;quot; to return the number of days from assigned to today. from my understanding I should be able to use the formula &amp;quot;translate(now(), &amp;quot;-&amp;quot;, &amp;quot;&amp;quot;) - translate(AssignedDate, &amp;quot;-&amp;quot;, &amp;quot;&amp;quot;)&amp;quot; but I keep getting a &amp;quot;nan&amp;quot; error. what am I doing wrong? is it possible to do this in infopath?</description></item></channel></rss>