<?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>Browser Forms</title><link>https://www.infopathdev.com:443/forums/40.aspx</link><description>For browser form specific questions</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Date/Time Problem in Browser Forms</title><link>https://www.infopathdev.com:443/forums/thread/25077.aspx</link><pubDate>Wed, 12 Dec 2007 16:49:22 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:25077</guid><dc:creator>davidair</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/25077.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=25077</wfw:commentRss><description>&lt;p&gt;Are you ever expecting storing anything but dates&amp;nbsp;in your field? If not,&amp;nbsp;consider changing the data type to &amp;quot;Date (date)&amp;quot; instread of &amp;quot;Text (string)&amp;quot;&amp;nbsp;- then it will just work correctly like you expect.&lt;/p&gt;
&lt;p&gt;If not, you can add a rule to your field:&lt;/p&gt;
&lt;p&gt;Condition: field contains &amp;quot;T&amp;quot;&lt;br /&gt;Action: Set field&amp;#39;s value to:substring-before(., &amp;quot;T&amp;quot;)&lt;/p&gt;
&lt;p&gt;However this is hacky so I would advise just changing the data type instead.&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Note: for testing purposes, it&amp;#39;s often useful to also drag the same field into the view as a plain textbox. Then you can see and debug the value right away without the need to save.&lt;/em&gt;&lt;/p&gt;</description></item><item><title>Date/Time Problem in Browser Forms</title><link>https://www.infopathdev.com:443/forums/thread/25076.aspx</link><pubDate>Wed, 12 Dec 2007 16:16:12 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:25076</guid><dc:creator>alex350r</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/25076.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=25076</wfw:commentRss><description>&lt;p&gt;Hi all,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I have an Infopath Browser form submitting to a webservice and to sharepoint.&lt;/p&gt;
&lt;p&gt;I have a few Date Fields, the data type is set to &amp;#39;String&amp;#39; but the field is a Date Picker.&lt;/p&gt;
&lt;p&gt;When submitting from an infopath client the date appears in the database and sharepoint correctly: e.g &amp;#39;12/12/2007&amp;#39;&lt;/p&gt;
&lt;p&gt;Because i do not want to display the time, however when submitting from a web browser form it puts &amp;#39;2007-12-12T00:00:00&amp;#39; into both the database and sharepoint.&lt;/p&gt;
&lt;p&gt;Is there anyway i can remove the time bit on submit with some code or concat string?&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Alex&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>