<?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>Re: How to get the local time in now() function</title><link>https://www.infopathdev.com:443/forums/thread/119341.aspx</link><pubDate>Fri, 22 Jun 2018 19:27:26 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:119341</guid><dc:creator>Wheels</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/119341.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=119341</wfw:commentRss><description>&lt;p&gt;Hi Kajan.&lt;/p&gt;&lt;p&gt;Something sounds messed up with your Locale settings. Have you gone into the Date and Time&amp;nbsp;Format and selected the correct Locale (e.g. English (United States))?&amp;nbsp;&lt;/p&gt;&lt;p&gt;WHEELS&amp;nbsp;&lt;/p&gt;</description></item><item><title>How to get the local time in now() function</title><link>https://www.infopathdev.com:443/forums/thread/107938.aspx</link><pubDate>Thu, 15 Sep 2016 12:56:03 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:107938</guid><dc:creator>Kajan</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/107938.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=107938</wfw:commentRss><description>Hi All,

I am using now() function to get the current Date and Time to compare with another Date and Time field to test whether submission is due or not.
But now() does not give the correct local time. Actual Date time is 15/09/2016 08.53 AM, but now() gives 15/09/2016 06.53 AM. 2 hr difference. 

So i am adding 7200 sec to the now() function like this : addSeconds(now(), 7200). I can able to get the correct result using this.

Is there any other efficient way to get the actual/Local time in InfoPath 2013?

Thanks &amp;amp; Regards,
Kajan.</description></item></channel></rss>