<?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: XML Date integration into InfoPath form - whole number to date format</title><link>https://www.infopathdev.com:443/forums/thread/95949.aspx</link><pubDate>Mon, 17 Feb 2014 17:32:39 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:95949</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/95949.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=95949</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;I believe you should be able to convert the Excel date values to XML date values with this formula (in InfoPath)&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;&amp;nbsp;xdDate:AddDays(&amp;quot;1899-12-31&amp;quot;, &lt;u&gt;ValueFromExcel&lt;/u&gt;)&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;&amp;nbsp;The value of xdDate:AddDays(&amp;quot;1899-12-31&amp;quot;, 42369) is &lt;strong&gt;2016-01-01&lt;/strong&gt; (I believe the Excel value for 1/30/2014 is 41669).&lt;/p&gt;&lt;p&gt;If this is for display-only, you can have a Calculated Value control that shows this formula and that is formatted as a Date value, or you can use some Form Load rules in the form to do the conversion the first time&amp;nbsp;a document is&amp;nbsp;opened.&lt;/p&gt;</description></item><item><title>Re: XML Date integration into InfoPath form - whole number to date format</title><link>https://www.infopathdev.com:443/forums/thread/95899.aspx</link><pubDate>Thu, 13 Feb 2014 19:49:20 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:95899</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/95899.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=95899</wfw:commentRss><description>&lt;p&gt;Might be worth a try - you could use a formula to return the year, month and day - you&amp;#39;ll want it formatted like:&lt;/p&gt;
&lt;p&gt;yyyy-MM-dd&lt;/p&gt;
&lt;p&gt;You can also import a schema for Excel to use for the XML that will indicate a date field - but the above may be a simpler approach....&lt;/p&gt;</description></item><item><title>Re: XML Date integration into InfoPath form - whole number to date format</title><link>https://www.infopathdev.com:443/forums/thread/95894.aspx</link><pubDate>Thu, 13 Feb 2014 17:57:36 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:95894</guid><dc:creator>Paul Gohmann</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/95894.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=95894</wfw:commentRss><description>Hi Hilary.. of all the people to respond, I was hoping it was you (no offense to the others :)) as I&amp;#39;ve read many of your other comments on dates and such.

I have not ran into an issue with Stack Overflow.

So, it sound like I&amp;#39;ll have to figure out a way to store the date field in Excel as text perhaps and go that route??

Thanks for the help.</description></item><item><title>Re: XML Date integration into InfoPath form - whole number to date format</title><link>https://www.infopathdev.com:443/forums/thread/95889.aspx</link><pubDate>Thu, 13 Feb 2014 16:36:35 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:95889</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/95889.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=95889</wfw:commentRss><description>&lt;p&gt;Sadly - 42369 is how Excel is actually storing that date. Have you run across this StackOverflow post that may be of help? &lt;a href="http://stackoverflow.com/questions/7918347/exporting-xml-from-excel-and-keeping-date-format"&gt;http://stackoverflow.com/questions/7918347/exporting-xml-from-excel-and-keeping-date-format&lt;/a&gt;&lt;/p&gt;</description></item><item><title>XML Date integration into InfoPath form - whole number to date format</title><link>https://www.infopathdev.com:443/forums/thread/95885.aspx</link><pubDate>Thu, 13 Feb 2014 15:10:44 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:95885</guid><dc:creator>Paul Gohmann</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/95885.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=95885</wfw:commentRss><description>I&amp;#39;ve searched these forums and Googled for a couple of hours yesterday and simply can&amp;#39;t figure out how to resolve my issue. 

I&amp;#39;m taking an Excel file and exporting an XML file that is then used as a data connection in InfoPath. One of the fields in the XML is a date field which looks correct in the Excel cell as 1/31/2014 but it gets stored in XML as   42369.

So, when I pull the date data, it is always showing as &amp;quot;42369&amp;quot; type of numeric value.  I need it to show has 1/30/2014 (or something similar) in my InfoPath form.

My thoughts are either I need to have a better XML Schema (which I really only started using 2 days ago) (perhaps some sort of &amp;quot;date declaration&amp;quot; in the schema??) or when I pull in the 42369, I need to somehow convert or format it to show 1/30/2014.

I can&amp;#39;t use any coding like VBS or C# in the solution (because I&amp;#39;m not a coder at all and I think it&amp;#39;ll mess with form when I move it to being web based).

I truly appreciate any help anyone can provide on this issue.

Best regards,
Paul</description></item></channel></rss>