<?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>SharePoint Integration</title><link>https://www.infopathdev.com:443/forums/46.aspx</link><description> For questions concerning issues in the integration of SharePoint and Microsoft InfoPath.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Combine Date and Time Fields to Submit to A SharePoint List Date and Time Column</title><link>https://www.infopathdev.com:443/forums/thread/96549.aspx</link><pubDate>Thu, 20 Mar 2014 15:29:22 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:96549</guid><dc:creator>pitt23panther</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/96549.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=96549</wfw:commentRss><description>I was able to resolve the issue utilizing this useful blog post:

http://blog-sharepoint.blogspot.com/2009/07/infopath-caml-date-time-format-in-when.html</description></item><item><title>Combine Date and Time Fields to Submit to A SharePoint List Date and Time Column</title><link>https://www.infopathdev.com:443/forums/thread/96545.aspx</link><pubDate>Thu, 20 Mar 2014 14:34:37 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:96545</guid><dc:creator>pitt23panther</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/96545.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=96545</wfw:commentRss><description>Hello all - I have an InfoPath 2010 Form that has 2 fields - one is of type Date, and the other is of type Time.  I am submitting the form to a SharePoint list, and would like to combine these 2 fields into a single date/time value to submit to a DateAndTime column in my SharePoint List.

I have tried several ways to concatenate the 2 fields, but none seem to work.  I started with a simply concat like this:

concat(Date, &amp;quot;T&amp;quot;, &amp;quot;Time&amp;quot;)

...without any luck.  My current attempt is:

concat(msxsl:format-date(Date, &amp;quot;M/d/yyyy&amp;quot;), msxsl:format-time(Time, &amp;quot; h:mm tt&amp;quot;))

But the submit fails when the SharePoint List to which I am trying to submit has a column data type of Date and Time.  If I instead change its data type to Single Line of Text, it works - and it looks like a perfect date/time.

Do/can I cast this concatenation to a Date datatype before submitting somehow?

Thanks!</description></item></channel></rss>