<?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: Calculate date/time from three different fields</title><link>https://www.infopathdev.com:443/forums/thread/125118.aspx</link><pubDate>Thu, 29 Sep 2022 18:13:55 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:125118</guid><dc:creator>clawrence</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/125118.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=125118</wfw:commentRss><description>Thank you, Hilary, you always come through!</description></item><item><title>Re: Calculate date/time from three different fields</title><link>https://www.infopathdev.com:443/forums/thread/125114.aspx</link><pubDate>Wed, 28 Sep 2022 19:57:56 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:125114</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/125114.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=125114</wfw:commentRss><description>&lt;p&gt;Give the attached sample a try.... I used a default value to calculate the date time string from the fields, and you&amp;#39;ll see I used some substring function to zero pad the hours field if needed. Then on the submit button, I compare that calculated field to now() + 1 to see if the datetime is &amp;gt; 24 hours away. Right click the linked file, save locally. Right click the saved file and select design. I haven&amp;#39;t tested this in the browser, so you may want to give this form a quick test in the browser if you are using browser forms :)&lt;/p&gt;</description></item><item><title>Calculate date/time from three different fields</title><link>https://www.infopathdev.com:443/forums/thread/125113.aspx</link><pubDate>Wed, 28 Sep 2022 18:45:12 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:125113</guid><dc:creator>clawrence</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/125113.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=125113</wfw:commentRss><description>Whew, it&amp;#39;s been a while since I&amp;#39;ve had to be on here.

Here&amp;#39;s the problem I&amp;#39;m up against: working on modifying an existing form that has a date field (date), a start hour field (whole number), and a start minute field (whole number).  I&amp;#39;m trying to calculate the full date/time with those fields so that I can then compare the field to now().  If that date time is not at least 24 hours from now(), I want to deactivate the submit button.  Any ideas?</description></item></channel></rss>