<?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>Qdabra qRules</title><link>https://www.infopathdev.com:443/forums/131.aspx</link><description>qRules adds support to your InfoPath  forms. With qRules, you can add features to your form that require code, but without having to write it. </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: what is the correct format for submitting time to a SharePoint list</title><link>https://www.infopathdev.com:443/forums/thread/89942.aspx</link><pubDate>Mon, 20 May 2013 15:13:57 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:89942</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/89942.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=89942</wfw:commentRss><description>&lt;p&gt;SharePoint wants the date in the format:&lt;/p&gt;&lt;p&gt;2012-05-04 12:00:00&lt;/p&gt;&lt;p&gt;InfoPath stores date time as:&lt;/p&gt;&lt;p&gt;2012-05-04T12:00:00&lt;/p&gt;&lt;p&gt;So - you need to remove the &amp;quot;T&amp;quot; prior to submitting to a date time column in SharePoint.&lt;/p&gt;&lt;p&gt;The options are:&lt;/p&gt;&lt;ol&gt;&lt;li&gt;&lt;div&gt;Store the date time as a string in InfoPath so you can just use a translate formula on it to remove the T, OR&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div&gt;Have an additional field where you store the date time value as a string w/out the T&lt;/div&gt;&lt;/li&gt;&lt;/ol&gt;&lt;p&gt;In general, I like option 2 - so that I have the date time info in the form as a date time still. We&amp;#39;ve been talking about in the future adding some data type options in the form used for mapping - then qRules could just handle some of these things without putting the burden on the designer.&lt;/p&gt;&lt;p&gt;&lt;strong&gt;EDITED TO ADD: &lt;/strong&gt;I see I did an awful job of reading your original question - but the time values you are storing are for a specific date - which I imagine you also have in the form&amp;#39;s XML. I&amp;#39;d use a calculated string field that concats those values (with a space between) and submit it to a date time column in SharePoint - then you have the data as the correct data type in SharePoint (since start &amp;amp; end time aren&amp;#39;t actually just times - they do occur on a date...)&lt;/p&gt;</description></item><item><title>Re: what is the correct format for submitting time to a SharePoint list</title><link>https://www.infopathdev.com:443/forums/thread/89907.aspx</link><pubDate>Sun, 19 May 2013 22:42:51 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:89907</guid><dc:creator>MrWilde</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/89907.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=89907</wfw:commentRss><description>Thanks again Patrick for a quick response. I always like the fact that I have an issue like this and ask you guys for help and get a reply so quickly.

You have confirmed everything for me exactly.  I tried using the time field in InfoPath then the dateandtime with only time but no go.

I tested a blank Infopath form published to share-point list to see what type it created but I could not replicate the type with Infopath and Qrules.

I finally tested using the type format and then submitted to SharePoint list text type. That gives me the XML version of dateandtime stamp, 1899-12-30T09:25:00+10:00, but it works and is easy to play with.

thanks again for the advice and quick response.

Rob Wilde</description></item><item><title>Re: what is the correct format for submitting time to a SharePoint list</title><link>https://www.infopathdev.com:443/forums/thread/89898.aspx</link><pubDate>Sun, 19 May 2013 20:06:54 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:89898</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/89898.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=89898</wfw:commentRss><description>&lt;p&gt;Hi MrWilde,&lt;/p&gt;&lt;p&gt;If you&amp;#39;re using a SharePoint list form, you don&amp;#39;t have the Time only field type option. So, you should choose DateTime type. I&amp;#39;m guessing you did but that you are just using the Time component. This should still not cause a problem since it will insert today&amp;#39;s date as the default. I just tried it and it promotes to SharePoint list columns just fine. If you create the columns from SharePoint as &amp;quot;Date Time&amp;quot; InfoPath only sees them as &amp;quot;Date&amp;quot; and not &amp;quot;Date Time&amp;quot; and you won&amp;#39;t be able to change the type from InfoPath designer. I guess that&amp;#39;s a limitation in the list forms.&lt;/p&gt;&lt;p&gt;In general, for most business process forms, SharePoint list forms are too limited. They don&amp;#39;t support many of the controls (including repeating), have no support for extensions, and data can&amp;#39;t be easily migrated - to list just a few reasons. But, the biggest issue is that they are limited by SharePoint list limits, so you can&amp;#39;t extend them past ~80 columns (+/- 10 because it depends on the data types). They will just refuse to publish.&lt;/p&gt;&lt;p&gt;I prefer using a full-fledged&amp;nbsp;InfoPath form and map to the list using CAML or qRules - the latter is more flexible, less time consuming, and supports roundtrips and mapping to multiple lists. Maybe you are already one of these techniques. If so, that&amp;#39;s great. You can use a pure Time field type and map it as a string to your list. That&amp;#39;s how the out-of-box sample timesheets worked in InfoPath 2003. &lt;/p&gt;&lt;p&gt;Send email to Support if you have qRules issues mapping time.&lt;/p&gt;&lt;p&gt;Good luck!&lt;/p&gt;</description></item><item><title>what is the correct format for submitting time to a SharePoint list</title><link>https://www.infopathdev.com:443/forums/thread/89897.aspx</link><pubDate>Sun, 19 May 2013 14:24:11 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:89897</guid><dc:creator>MrWilde</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/89897.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=89897</wfw:commentRss><description>I am getting close to the end of my very large time sheet Infopath form and have got stuck on something regarding the times.  for calculations I would like the fields to be times in the form so I need to know what are the correct field types to use in the form and in the SharePoint list I am submitting to.

I am trying a lot of different field types but keep getting 

Invalid date/time value.

A date/time field contains invalid data. Please check the value and try again.</description></item></channel></rss>