<?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>Pulling Data From Access</title><link>https://www.infopathdev.com:443/forums/thread/100779.aspx</link><pubDate>Thu, 15 Jan 2015 19:24:58 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:100779</guid><dc:creator>JoshuaMaaz</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/100779.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=100779</wfw:commentRss><description>&lt;p&gt;Hello, I am brand new to the forum.&amp;nbsp; I search for anyone&amp;nbsp;who has this particular issue and could not find it.&amp;nbsp; I am trying to pull two&amp;nbsp;date/time&amp;nbsp;fields out of access.&amp;nbsp; I want them to&amp;nbsp;display time in 12 hour format.&amp;nbsp; But when pulling the&amp;nbsp;data from access it pulls the date and time in&amp;nbsp;24 hour time.&amp;nbsp; I also am having it place two fields from access into one to show the entire shift.&lt;/p&gt;&lt;p&gt;So&amp;nbsp;it pulls over like this: 1899-12-30T16:30:00 - 1899-12-30T00:00:00&lt;/p&gt;&lt;p&gt;I would like it to show this:&amp;nbsp;&amp;nbsp;04:30 PM - 12:00 PM&lt;/p&gt;&lt;p&gt;I am pulling the data over using a rule from a name drop down which looks like this: concat(@Sunday_Start[@Name__Last__First_ = Agent_Name], &amp;quot; - &amp;quot;, @Sunday_End[@Name__Last__First_ = Agent_Name])&amp;nbsp;&lt;/p&gt;&lt;p&gt;Is there a substring or similar command I can use to remove the T&amp;#39;s and the dates while also converting the time to 12 hour?&amp;nbsp;&lt;/p&gt;&lt;p&gt;Any help would be greatly appreciated, thanks!&amp;nbsp;&lt;/p&gt;&lt;p&gt;I am running&amp;nbsp;Office 2010.&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>