<?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: Calculate Date and Time with InfoPath template for SharePoint form library full of xml files</title><link>https://www.infopathdev.com:443/forums/thread/91511.aspx</link><pubDate>Sun, 21 Jul 2013 00:05:01 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:91511</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/91511.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=91511</wfw:commentRss><description>&lt;p&gt;You need to make sure it&amp;#39;s in the correct date format for XML - that&amp;#39;s 2013-08-17.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Calculate Date and Time with InfoPath template for SharePoint form library full of xml files</title><link>https://www.infopathdev.com:443/forums/thread/91507.aspx</link><pubDate>Sat, 20 Jul 2013 08:55:40 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:91507</guid><dc:creator>formulagabe</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/91507.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=91507</wfw:commentRss><description>&lt;p&gt;I have a PDF Form that creates a xml file when completely filled and submitted&amp;nbsp;and they are saved within a sharepoint form library.&amp;nbsp; I would like to utilize the InfoPath template to calculate the date and time to utilize the Gnatt view for this library.&amp;nbsp; The problem is Sharepoint views all the xml data as strings and the calculated columns in sharepoint are not usable for Gnatt view.&lt;/p&gt;
&lt;p&gt;The field names are DepartDateRow2, DepartDateRow6, DepartTimeRow2&amp;nbsp;and DepartTimeRow6 for the combination of dates and time.&amp;nbsp; The format of the date is MM/DD/YYYY and time is HHMM.&amp;nbsp; I would like to combine DepartDateRow2 with DepartTimeRow2 to create the start position and combine DepartDateRow6 with DepartTimeRow6 to create the finish position for the Gnatt view.&lt;/p&gt;
&lt;p&gt;How do I create this value with in the InfoPath template so when I import a XML file the data is automatically populated?&lt;/p&gt;
&lt;p&gt;&lt;span class="m"&gt;&lt;font color="#0000ff"&gt;&amp;lt;&lt;/font&gt;&lt;/span&gt;&lt;span class="t"&gt;&lt;font color="#990000"&gt;DepartureDateRow2&lt;/font&gt;&lt;/span&gt;&lt;span class="m"&gt;&lt;font color="#0000ff"&gt;&amp;gt;&lt;/font&gt;&lt;/span&gt;&lt;span class="tx"&gt;&lt;strong&gt;08/17/2013&lt;/strong&gt;&lt;/span&gt;&lt;span class="m"&gt;&lt;font color="#0000ff"&gt;&amp;lt;/&lt;/font&gt;&lt;/span&gt;&lt;span class="t"&gt;&lt;font color="#990000"&gt;DepartureDateRow2&lt;/font&gt;&lt;/span&gt;&lt;span class="m"&gt;&lt;font color="#0000ff"&gt;&amp;gt;&lt;/font&gt;&lt;/span&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span class="m"&gt;&lt;font color="#0000ff"&gt;&amp;lt;&lt;/font&gt;&lt;/span&gt;&lt;span class="t"&gt;&lt;font color="#990000"&gt;DepartureDateRow6&lt;/font&gt;&lt;/span&gt;&lt;span class="m"&gt;&lt;font color="#0000ff"&gt;&amp;gt;&lt;/font&gt;&lt;/span&gt;&lt;span class="tx"&gt;&lt;strong&gt;08/18/2013&lt;/strong&gt;&lt;/span&gt;&lt;span class="m"&gt;&lt;font color="#0000ff"&gt;&amp;lt;/&lt;/font&gt;&lt;/span&gt;&lt;span class="t"&gt;&lt;font color="#990000"&gt;DepartureDateRow6&lt;/font&gt;&lt;/span&gt;&lt;span class="m"&gt;&lt;font color="#0000ff"&gt;&amp;gt;&lt;/font&gt;&lt;/span&gt; &lt;/p&gt;
&lt;div class="e"&gt;
&lt;div style="TEXT-INDENT:-2em;MARGIN-LEFT:1em;"&gt;&lt;span class="b"&gt;&lt;strong&gt;&lt;font color="#ff0000" face="Courier New"&gt;&amp;nbsp;&lt;/font&gt;&lt;/strong&gt;&lt;/span&gt; &lt;span class="m"&gt;&lt;font color="#0000ff"&gt;&amp;lt;&lt;/font&gt;&lt;/span&gt;&lt;span class="t"&gt;&lt;font color="#990000"&gt;DepartureTimeRow2&lt;/font&gt;&lt;/span&gt;&lt;span class="m"&gt;&lt;font color="#0000ff"&gt;&amp;gt;&lt;/font&gt;&lt;/span&gt;&lt;span class="tx"&gt;&lt;strong&gt;0900&lt;/strong&gt;&lt;/span&gt;&lt;span class="m"&gt;&lt;font color="#0000ff"&gt;&amp;lt;/&lt;/font&gt;&lt;/span&gt;&lt;span class="t"&gt;&lt;font color="#990000"&gt;DepartureTimeRow2&lt;/font&gt;&lt;/span&gt;&lt;span class="m"&gt;&lt;font color="#0000ff"&gt;&amp;gt;&lt;/font&gt;&lt;/span&gt; &lt;/div&gt;&lt;/div&gt;
&lt;div class="e"&gt;
&lt;div style="TEXT-INDENT:-2em;MARGIN-LEFT:1em;"&gt;&lt;span class="b"&gt;&lt;strong&gt;&lt;font color="#ff0000" face="Courier New"&gt;&amp;nbsp;&lt;/font&gt;&lt;/strong&gt;&lt;/span&gt;&amp;nbsp;&lt;span class="m"&gt;&lt;font color="#0000ff"&gt;&amp;lt;&lt;/font&gt;&lt;/span&gt;&lt;span class="t"&gt;&lt;font color="#990000"&gt;DepartureTimeRow6&lt;/font&gt;&lt;/span&gt;&lt;span class="m"&gt;&lt;font color="#0000ff"&gt;&amp;gt;&lt;/font&gt;&lt;/span&gt;&lt;span class="tx"&gt;&lt;strong&gt;2030&lt;/strong&gt;&lt;/span&gt;&lt;span class="m"&gt;&lt;font color="#0000ff"&gt;&amp;lt;/&lt;/font&gt;&lt;/span&gt;&lt;span class="t"&gt;&lt;font color="#990000"&gt;DepartureTimeRow6&lt;/font&gt;&lt;/span&gt;&lt;span class="m"&gt;&lt;font color="#0000ff"&gt;&amp;gt;&lt;/font&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;</description></item></channel></rss>