<?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>General</title><link>https://www.infopathdev.com:443/forums/41.aspx</link><description>If you're not sure where to ask your question, ask it here. If necessary, our moderators will make sure it gets classified in the correct board.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Date format issue</title><link>https://www.infopathdev.com:443/forums/thread/89073.aspx</link><pubDate>Sun, 21 Apr 2013 18:52:47 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:89073</guid><dc:creator>skybluebaz</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/89073.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=89073</wfw:commentRss><description>Hi Patrick, thanks for the reply. i dont quite follow you though(i am fairly new to infopath).The example that i am following creates a sharepoint form library with the form in it.This form has a number of sections that have various bits of text in them.&amp;nbsp; 2 of the sections refer to dates. I then have some formatting rules that should show/hide the relevent section depending on the values captured. For example 1 of the rules is &lt;strong&gt;Training courses(secondary): Start &amp;gt; now()&lt;/strong&gt;. Where training courses is the list &amp;amp; start is the column.&amp;nbsp;So if the course is in the future this section should be hidden in my form. No matter what i try though, these section are not hidden as the rules state. I have looked at the&amp;nbsp;properties of the start field from the sharepoint list within infopath &amp;amp; it states the datatype as dateonlytype, is this correct as in the list it is time &amp;amp; date.</description></item><item><title>Re: Date format issue</title><link>https://www.infopathdev.com:443/forums/thread/89053.aspx</link><pubDate>Sun, 21 Apr 2013 16:20:51 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:89053</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/89053.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=89053</wfw:commentRss><description>&lt;p&gt;InfoPath dates are formatted differently from SharePoint column dates, and now() returns a date and a time, not just a date.&lt;/p&gt;&lt;p&gt;The format you should be using is 2013-04-21T09:19:30 where the date is before the T and the time is after.&lt;/p&gt;&lt;p&gt;This will allow you to use the string functions to compare whether one date is greater than another.&lt;/p&gt;&lt;p&gt;Please verify the format for your SharePoint column. Just drag and drop the field into your view and see what it shows. If it isn&amp;#39;t in the above format, you&amp;#39;ll have to convert it using concat and substring functions.&lt;/p&gt;</description></item><item><title>Date format issue</title><link>https://www.infopathdev.com:443/forums/thread/89049.aspx</link><pubDate>Sat, 20 Apr 2013 18:22:58 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:89049</guid><dc:creator>skybluebaz</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/89049.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=89049</wfw:commentRss><description>Hi I am wrting a Training booking system(following the steps in the book Sharepoint 2010 creating and implementing real world projects).&lt;br /&gt;All is ok apart from one thing. The systrem has a SP list that has start &amp;amp; end columns that are date/time columns. If i enter a new course directly into the list, then it shows the start date in the format as expected.  The Form that i am then trying to create uses this field via a data connection so that i can filter the courses using a rule for example &amp;#39;start &amp;lt; now()&amp;#39; to show/hide course that are from the past.&lt;br /&gt;No mater what i try i cannot get this to work. As a further test i have also added a calculated field control to the form, this control looking at the field in the sharepoint list, but the output of that comes back in the wrong format.  I m guessing that this is the reason why my filter doesnt work, but i cant work out why.&lt;br /&gt; &lt;br /&gt;Any ideas are really appreciated as this is driving me mad.</description></item></channel></rss>