How to get the local time in now() function - InfoPath Dev
in

InfoPath Dev

Use our Google Custom Search for best site search results.

How to get the local time in now() function

Last post 06-22-2018 12:27 PM by Wheels. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 09-15-2016 05:56 AM

    • Kajan
    • Not Ranked
    • Joined on 08-25-2016
    • Posts 15

    How to get the local time in now() function

    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 & Regards, Kajan.
    Filed under: ,
  • 06-22-2018 12:27 PM In reply to

    Re: How to get the local time in now() function

    Hi Kajan.

    Something sounds messed up with your Locale settings. Have you gone into the Date and Time Format and selected the correct Locale (e.g. English (United States))? 

    WHEELS 

Page 1 of 1 (2 items)
Copyright © 2003-2018 Qdabra Software. All rights reserved.
View our Terms of Use.