<?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: Adding (summing) clock time</title><link>https://www.infopathdev.com:443/forums/thread/83849.aspx</link><pubDate>Wed, 24 Oct 2012 19:22:39 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:83849</guid><dc:creator>workin'stiff</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/83849.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=83849</wfw:commentRss><description>&lt;p&gt;Would you go through an XML editor to hard code this?&lt;/p&gt;</description></item><item><title>Re: Adding (summing) clock time</title><link>https://www.infopathdev.com:443/forums/thread/83805.aspx</link><pubDate>Tue, 23 Oct 2012 22:02:34 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:83805</guid><dc:creator>Anson Hidajat</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/83805.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=83805</wfw:commentRss><description>It looks like the addSeconds function adds the seconds correctly but is removing the time zone stamp from the date which is why you get the addition of 5 hours. Did a quick search and couldn&amp;#39;t find a reason why it does this or a good workaround.&amp;nbsp; But if you know you&amp;#39;re always going to be in the -5GMT zone, you could simply add a &amp;quot;-5:00&amp;quot; to the end of the XML value.</description></item><item><title>Re: Adding (summing) clock time</title><link>https://www.infopathdev.com:443/forums/thread/83800.aspx</link><pubDate>Tue, 23 Oct 2012 21:28:54 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:83800</guid><dc:creator>workin'stiff</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/83800.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=83800</wfw:commentRss><description>&lt;p&gt;I&amp;#39;m now having a strange issue where the resultant of the addSeconds is adding an additional 5 hours to every computation. For instance, I have the following formula: addSeconds(field1, 1800). Field1 = 12:15. The resultant should be 12:45. Instead, I&amp;#39;m getting 17:45. All of my formatting is correct, from what I can tell... But I&amp;#39;m definitely pulling my hair out over this...&lt;/p&gt;</description></item><item><title>Re: Adding (summing) clock time</title><link>https://www.infopathdev.com:443/forums/thread/83798.aspx</link><pubDate>Tue, 23 Oct 2012 21:22:44 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:83798</guid><dc:creator>workin'stiff</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/83798.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=83798</wfw:commentRss><description>&lt;p&gt;Ah, thats my issue! Thanks!&lt;/p&gt;</description></item><item><title>Re: Adding (summing) clock time</title><link>https://www.infopathdev.com:443/forums/thread/83788.aspx</link><pubDate>Tue, 23 Oct 2012 18:11:39 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:83788</guid><dc:creator>Anson Hidajat</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/83788.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=83788</wfw:commentRss><description>What are you entering as your second field?&amp;nbsp; It has to be in seconds format so likely an integer.&amp;nbsp; You cannot put something else like a time field.</description></item><item><title>Re: Adding (summing) clock time</title><link>https://www.infopathdev.com:443/forums/thread/83787.aspx</link><pubDate>Tue, 23 Oct 2012 18:03:14 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:83787</guid><dc:creator>workin'stiff</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/83787.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=83787</wfw:commentRss><description>&lt;p&gt;It appears that IP doesn&amp;#39;t like two field parameters. When I enter values into the preview, it comes up with ERR? in the resultant field. Yet in the formula editor, there are no errors found when running the check... Strange...&lt;/p&gt;</description></item><item><title>Re: Adding (summing) clock time</title><link>https://www.infopathdev.com:443/forums/thread/83785.aspx</link><pubDate>Tue, 23 Oct 2012 16:57:34 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:83785</guid><dc:creator>Anson Hidajat</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/83785.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=83785</wfw:commentRss><description>You should be able to use a field for the seconds parameter.&amp;nbsp; Let me know if that doesn&amp;#39;t work for you.</description></item><item><title>Re: Adding (summing) clock time</title><link>https://www.infopathdev.com:443/forums/thread/83783.aspx</link><pubDate>Tue, 23 Oct 2012 16:34:40 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:83783</guid><dc:creator>workin'stiff</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/83783.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=83783</wfw:commentRss><description>&lt;p&gt;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/Themes/infopathdev/images/icon-quote.gif"&gt; &lt;strong&gt;Anson Hidajat:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;You can use rules to create this effect, though it may get a little complicated.&amp;nbsp; You can use string functions (substring)&amp;nbsp;in InfoPath to parse our the hour and the minutes.&amp;nbsp; Then you can add to the minutes based on the total amount then divide by 60.&amp;nbsp; The result should be added to the hours and then the remainder should be added to the minutes.&amp;nbsp; Lastly you can use concat() to combine the hour and minutes together for the return value.&amp;nbsp; Hope that makes sense.&amp;nbsp; Let me know if you need more specifics on how to accomplish this.&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;/p&gt;
&lt;p&gt;Anson,&lt;/p&gt;
&lt;p&gt;Thanks for your insight with this. I was fortunate enough to have the IT department just upgrade my computer to IP 2010. With the addSeconds feature, is it possible to now add two time fields togother with this function? I know the standard syntax is addSeconds(field, seconds). But I would like to accomplish addSeconds(field1, field2).&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;</description></item><item><title>Re: Adding (summing) clock time</title><link>https://www.infopathdev.com:443/forums/thread/83470.aspx</link><pubDate>Thu, 11 Oct 2012 22:31:02 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:83470</guid><dc:creator>Anson Hidajat</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/83470.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=83470</wfw:commentRss><description>You can use rules to create this effect, though it may get a little complicated.&amp;nbsp; You can use string functions (substring)&amp;nbsp;in InfoPath to parse our the hour and the minutes.&amp;nbsp; Then you can add to the minutes based on the total amount then divide by 60.&amp;nbsp; The result should be added to the hours and then the remainder should be added to the minutes.&amp;nbsp; Lastly you can use concat() to combine the hour and minutes together for the return value.&amp;nbsp; Hope that makes sense.&amp;nbsp; Let me know if you need more specifics on how to accomplish this.</description></item><item><title>Adding (summing) clock time</title><link>https://www.infopathdev.com:443/forums/thread/83203.aspx</link><pubDate>Wed, 03 Oct 2012 19:47:33 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:83203</guid><dc:creator>workin'stiff</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/83203.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=83203</wfw:commentRss><description>&lt;p&gt;I&amp;#39;m trying to find a no code solution for the following problem.&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve got a text field (formatted as time with the following format, XX:XX). I need to add a defined amount of time to the previously referenced text field. The returned value needs to be formatted in XX:XX.&lt;/p&gt;
&lt;p&gt;Any help with this would be greatly appreciated. And let me know if I&amp;#39;ve overlooked any details.&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;</description></item></channel></rss>