<?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: Total Time function</title><link>https://www.infopathdev.com:443/forums/thread/99644.aspx</link><pubDate>Fri, 17 Oct 2014 08:28:51 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:99644</guid><dc:creator>Upender Singh</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/99644.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=99644</wfw:commentRss><description>&lt;p&gt;Hello Hilary,&lt;/p&gt;
&lt;p&gt;Thank you for your support.&lt;/p&gt;
&lt;p&gt;I have&amp;nbsp; checked the form and understand the calculation.&lt;/p&gt;
&lt;p&gt;That&amp;#39;s really helpful..I m confident now as able to complete this form very soon.&lt;/p&gt;
&lt;p&gt;I appreciate your knowledge and kind support.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Upender Singh&lt;/p&gt;</description></item><item><title>Re: Total Time function</title><link>https://www.infopathdev.com:443/forums/thread/99635.aspx</link><pubDate>Fri, 17 Oct 2014 00:21:03 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:99635</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/99635.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=99635</wfw:commentRss><description>&lt;p&gt;I re-read that post on BrainTrove so I better understood what the formula is doing and here is a cleaned up version with the defaults set they won&amp;#39;t have a value that is an error in them.&lt;/p&gt;</description></item><item><title>Re: Total Time function</title><link>https://www.infopathdev.com:443/forums/thread/99627.aspx</link><pubDate>Thu, 16 Oct 2014 16:55:02 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:99627</guid><dc:creator>Upender Singh</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/99627.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=99627</wfw:commentRss><description>&lt;p&gt;Hello Hilary,&lt;/p&gt;
&lt;p&gt;Thank you for your support.&lt;/p&gt;
&lt;p&gt;I m new to infopath and acquiring knowledge from web and learning it got lot of functions but frankly speaking bit hard to understand the function part for calcuation for time.&lt;/p&gt;
&lt;p&gt;I done calculation for numeric figure it work for me on other form but time function is really tough to understand.&lt;/p&gt;
&lt;p&gt;Thank you for your support.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Upender Singh&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Total Time function</title><link>https://www.infopathdev.com:443/forums/thread/99626.aspx</link><pubDate>Thu, 16 Oct 2014 16:43:27 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:99626</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/99626.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=99626</wfw:commentRss><description>&lt;p&gt;I still have a copy of your form - I&amp;#39;ll work out the formula for you in that and post it later - it may be tomorrow before I have time.&lt;/p&gt;</description></item><item><title>Re: Total Time function</title><link>https://www.infopathdev.com:443/forums/thread/99625.aspx</link><pubDate>Thu, 16 Oct 2014 16:11:37 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:99625</guid><dc:creator>Upender Singh</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/99625.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=99625</wfw:commentRss><description>&lt;p&gt;Hello Hilary,&lt;/p&gt;
&lt;p&gt;Thank you for your post.&lt;/p&gt;
&lt;p&gt;Yes you are correct all my feild are date and time.&lt;/p&gt;
&lt;p&gt;I&amp;nbsp;tried the function&amp;nbsp;&lt;strong&gt;concat(today(), &amp;quot;T01:00:00&amp;quot;)&lt;/strong&gt;&amp;nbsp;and it works as giving the duration of 01 hour.&lt;/p&gt;
&lt;p&gt;I have gone throug the msdn blog but I am sorry as not able to understand it as it is calcuating the time from dailytimeminutes which I dont have such feild.&lt;/p&gt;
&lt;p&gt;You have given me the&amp;nbsp;below function yesterday&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;concat(substring-before(@_01st_Break_Out, &amp;quot;T&amp;quot;), &amp;quot;T&amp;quot;, (translate(addSeconds(substring-after(@_01st_Break_Out, &amp;quot;T&amp;quot;), -1 * (substring(substring-after(@_01st_Break_In, &amp;quot;T&amp;quot;), 1, 2) * 3600 + substring(substring-after(@_01st_Break_In, &amp;quot;T&amp;quot;), 4, 2) * 60 + substring(substring-after(@_01st_Break_In, &amp;quot;T&amp;quot;), 7, 2))), &amp;quot;&amp;quot;, &amp;quot;&amp;quot;)))&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;which i used to get the total break timing and as I have three break slots so once all break used I want to get a total of break utilized.&lt;/p&gt;
&lt;p&gt;Please help me to create the function to get total time from all three break total time feild.&lt;/p&gt;
&lt;p&gt;Thanks for your support.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Upender Singh&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Total Time function</title><link>https://www.infopathdev.com:443/forums/thread/99624.aspx</link><pubDate>Thu, 16 Oct 2014 15:22:17 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:99624</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/99624.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=99624</wfw:commentRss><description>&lt;p&gt;Is the field you are trying to set a default for actually a date time field? If so, you&amp;#39;d need to concatenate the today function with &amp;quot;T&amp;quot; and the time (unless you want the time for a different date, in which case you&amp;#39;d need to know where to find that date)&lt;/p&gt;
&lt;p&gt;concat(today(), &amp;quot;T01:00:00)&lt;/p&gt;
&lt;p&gt;You could use a rule to set the field.&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t know what the values are in your first question - are they date time values again?&lt;/p&gt;
&lt;p&gt;Perhaps working through this link will help you:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/b/infopath/archive/2007/02/21/calculating-elapsed-time-without-code.aspx"&gt;http://blogs.msdn.com/b/infopath/archive/2007/02/21/calculating-elapsed-time-without-code.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Total Time function</title><link>https://www.infopathdev.com:443/forums/thread/99622.aspx</link><pubDate>Thu, 16 Oct 2014 14:59:04 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:99622</guid><dc:creator>Upender Singh</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/99622.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=99622</wfw:commentRss><description>&lt;p&gt;Hello Hilary,&lt;/p&gt;
&lt;p&gt;Thank you for your support&amp;nbsp;as it resolved my concern but still get stuck with other&amp;nbsp;function.&lt;/p&gt;
&lt;p&gt;1) &amp;nbsp;I have tried to get total of 01st break total + 02nd Break total + 03rd Break total however no sucess.&lt;/p&gt;
&lt;p&gt;Could you please explain how to sum up the total break function.&lt;/p&gt;
&lt;p&gt;2) Is there any function or rule by which we can set a default value of 1 hrs i.e. 01:00:00 on feild.&lt;/p&gt;
&lt;p&gt;Thanks for your support.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Upender Singh&lt;/p&gt;</description></item></channel></rss>