<?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: convert text data type field to time data type in Info Path 213</title><link>https://www.infopathdev.com:443/forums/thread/118505.aspx</link><pubDate>Thu, 08 Mar 2018 16:34:52 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:118505</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/118505.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=118505</wfw:commentRss><description>Time is stored in XML as 24 hour time, with minutes and seconds. So, if you wanted to set a time field to 3 pm (for example) you&amp;#39;d set it to 15:00:00. This means you&amp;#39;ll need to do more than just set the field to the concatenated value of your two fields. Personally, I would change the first dropdown to have the time plus am / pm, and have that for the display, with the value in the time format expected by IP. See attached sample - save the file locally, right click and select design, then you can preview it. I only added a few sample times to the dropdown, but it should give you the general idea.</description></item><item><title>convert text data type field to time data type in Info Path 213</title><link>https://www.infopathdev.com:443/forums/thread/118498.aspx</link><pubDate>Thu, 08 Mar 2018 04:49:01 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:118498</guid><dc:creator>mmannil</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/118498.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=118498</wfw:commentRss><description>Dears,

I have three fields in info path form library

1. Field 1 = Hour (data type is text). this is a drop down list where user can choose the value. For example the values will be like 7:00, 7:30, 8:00, 8:30, etc.

2. Field 2 = Meridian (data type is text). this will be radio button with two values AM, PM

3. Field 3 = Selected_Hour (data type is Time). the value of this field is based on above two fields. For example i choose  7:30 from first field drop down list and PM from second field radio button then the result in the third field must be 7:30 PM.  Here i used concat function but the ends with an error. Error is &amp;#39;Only date or time allowed&amp;#39;.

Any help on this ?</description></item></channel></rss>