how to take 30 minutes from an =now() formula - InfoPath Dev
in

InfoPath Dev

how to take 30 minutes from an =now() formula

Last post 02-18-2015 05:13 AM by Jimmy. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 02-16-2015 10:09 PM

    how to take 30 minutes from an =now() formula

    Hi All

    I think the subject says it all but to give the full story:

    I have some browser enabled forms that have a rule populating completed date and time for certain tasks once a field is clicked. The problem is the time that is autopopulating is in a different timezone for my country (australia) so i want to be able to remove 30 minutes from the =now() formula.

    Any thoughts or assistance would be great, thanks

    FYI im using IP2007 on SP2007.

  • 02-17-2015 07:45 PM In reply to

    Re: how to take 30 minutes from an =now() formula

    Hi All

     Just thought id update it myself, i have found out a way of working it is:

    concat(substring(addSeconds(now(), -1800), 12, 2), ":", substring(addSeconds(now(), -1800), 15, 2))

     Thanks

  • 02-18-2015 05:13 AM In reply to

    Re: how to take 30 minutes from an =now() formula

     You could also use:

        substring(addSeconds(now(), -1800), 12, 5) 

    Jimmy Rishe / Software Developer / Microsoft MVP
    Qdabra Software
Page 1 of 1 (3 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.