<?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>Help need to convert a excel formula to XSLT/XPATH function</title><link>https://www.infopathdev.com:443/forums/thread/98274.aspx</link><pubDate>Wed, 09 Jul 2014 08:26:04 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:98274</guid><dc:creator>Veeramani</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/98274.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=98274</wfw:commentRss><description>&lt;p&gt;Helo everyone,&amp;nbsp; &lt;br /&gt;&lt;/p&gt;&lt;p&gt;I am developing a info path form which would be served as a travel request form in SharePoint. The travel request time should be greater than 2 hrs from the time it is being requested. &lt;/p&gt;&lt;p&gt;If a request is being raised by 1 PM then the requested time should be minimum 3 PM or more than that. &lt;/p&gt;&lt;p&gt;Trying to impose this condition as a rule in Infopath designer and its requires a XSLT/XPATH function to do so. But I am completly null on it. I know that it can be acheived in excel by this formula =NOW() + TIME(2, 0, 0). &lt;/p&gt;&lt;p&gt;Can you please help me with the equivalent XSLT/XPATH Function ? Thanks in advance.&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>