Need help to calculate military time minus minutes - InfoPath Dev
in

InfoPath Dev

Need help to calculate military time minus minutes

Last post 06-25-2010 05:15 AM by Stevizard. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 06-24-2010 10:20 AM

    Need help to calculate military time minus minutes

    Hi,

    I'm using InfoPath 2007. I have the following text fields (all in military time):  StartTime, EndTime, MinutesToBailout. BailTime

    I need a codeless way to program:   EndTime - MinutesToBailout = BailTime

    I'm definitely not a programmer, so I need simple but thorough directions.  If anyone can lend a hand, I'll be very grateful.

    Thanks,

    Steve

  • 06-24-2010 10:43 AM In reply to

    Re: Need help to calculate military time minus minutes

    Use this formula as the default value of BailTime

    addSeconds(EndTime, -60 * MinutesToBailTime)

    Jimmy Rishe / Software Developer / Microsoft MVP
    Qdabra Software
  • 06-25-2010 05:15 AM In reply to

    Re: Need help to calculate military time minus minutes

    Jimmy,

     

    Your solution works like a charm!

     Thank you very much,

    Steve

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