<?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: PM or AM with auto time?</title><link>https://www.infopathdev.com:443/forums/thread/45102.aspx</link><pubDate>Tue, 28 Jul 2009 16:52:18 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:45102</guid><dc:creator>Gagan</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/45102.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=45102</wfw:commentRss><description>&lt;p&gt;ran into a problem with my function.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;when the time is during nonn (Ex: 12:15:00 PM) my code will make it so it is (00:15:00 PM)&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;any way to fix this?&lt;/p&gt;</description></item><item><title>Re: PM or AM with auto time?</title><link>https://www.infopathdev.com:443/forums/thread/44120.aspx</link><pubDate>Fri, 10 Jul 2009 13:14:16 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:44120</guid><dc:creator>Gagan</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/44120.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=44120</wfw:commentRss><description>&lt;p&gt;as soon as I read your response, i facepalmed, and said DUH!&lt;/p&gt;
&lt;p&gt;&lt;strike&gt;but when I actually sat down to code it into the rules, I couldnt figure out the formulas.&lt;/strike&gt;&lt;/p&gt;
&lt;p&gt;&lt;strike&gt;Any Help?&lt;/strike&gt;&lt;/p&gt;
&lt;p&gt;got it! &lt;/p&gt;
&lt;p&gt;used concat(addSeconds(Timenumber, -43200), &amp;quot; &amp;quot;, timeamorpm)&lt;/p&gt;
&lt;p&gt;im actually kind of proud of myself since im such a dunce at programming.&lt;/p&gt;</description></item><item><title>Re: PM or AM with auto time?</title><link>https://www.infopathdev.com:443/forums/thread/44042.aspx</link><pubDate>Thu, 09 Jul 2009 15:46:04 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:44042</guid><dc:creator>warrtalon</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/44042.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=44042</wfw:commentRss><description>&lt;p&gt;Subtract 12 hours?&lt;/p&gt;</description></item><item><title>Re: PM or AM with auto time?</title><link>https://www.infopathdev.com:443/forums/thread/44028.aspx</link><pubDate>Thu, 09 Jul 2009 12:23:37 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:44028</guid><dc:creator>Gagan</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/44028.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=44028</wfw:commentRss><description>&lt;p&gt;thanks for the response.&lt;/p&gt;
&lt;p&gt;my end goal is to have the sharepoint list show weather it is AM or PM, so that my end-user can view the data right there, and export to excel if needed&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;EDIT: so i came up with a temp soultion, which included having my submit button, which was coded, also have Rules, which were to set a node to the Fx (substring-after(now(), &amp;quot;T&amp;quot;)) then set a node to AM or PM depending on weather the first node was after or before noon and after or before midnight. then set the final node that is displayed on my form to (concat(node1, &amp;quot; &amp;quot;, node2)).&lt;/p&gt;
&lt;p&gt;the problem is that the Fx (substring-after(now(), &amp;quot;T&amp;quot;) brings up the time in military time, so even though it looks okay when it is AM, when it switches over to PM, military time and the following PM doesnt look right.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;basically i need to change my (substring-after(now(), &amp;quot;T&amp;quot;))&amp;nbsp; formula to be normal time, and not military. is there a way to do this?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;thanks so much!&lt;/p&gt;</description></item><item><title>Re: PM or AM with auto time?</title><link>https://www.infopathdev.com:443/forums/thread/43961.aspx</link><pubDate>Wed, 08 Jul 2009 15:47:39 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:43961</guid><dc:creator>warrtalon</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/43961.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=43961</wfw:commentRss><description>&lt;p&gt;That&amp;#39;s all just display whether it&amp;#39;s in InfoPath or SharePoint.&amp;nbsp; The true XML underneath the covers is a raw number...same for both InfoPath and SharePoint.&lt;/p&gt;
&lt;p&gt;What is your end goal?&lt;/p&gt;</description></item><item><title>Re: PM or AM with auto time?</title><link>https://www.infopathdev.com:443/forums/thread/43950.aspx</link><pubDate>Wed, 08 Jul 2009 14:35:10 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:43950</guid><dc:creator>Gagan</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/43950.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=43950</wfw:commentRss><description>&lt;p&gt;actually just figured it out,&lt;/p&gt;
&lt;p&gt;for those wondering, change the data type to Time, and click format.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;EDIT: actually the whole purpose of this form is to submit it to sharepoint, and what i did only changes the display on infopath form, and doesnt submit the data as AM or PM in sharepoint. any ideas?&lt;/p&gt;</description></item><item><title>PM or AM with auto time?</title><link>https://www.infopathdev.com:443/forums/thread/43949.aspx</link><pubDate>Wed, 08 Jul 2009 14:26:00 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:43949</guid><dc:creator>Gagan</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/43949.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=43949</wfw:commentRss><description>&lt;p&gt;hi all, &lt;/p&gt;
&lt;p&gt;&amp;nbsp;I&amp;#39;m using the function &amp;quot;substring-after(now(), &amp;quot;T&amp;quot;)&amp;quot; to populate current time. is there any way to add PM/AM to that automatically?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Thanks!&lt;/p&gt;</description></item></channel></rss>