1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

  2. Anuncie Aqui ! Entre em contato fdantas@4each.com.br

Code to add x minutes to time in fillin field

Discussão em 'StackOverflow' iniciado por fdantas, Dezembro 18, 2018.

  1. fdantas

    fdantas Administrator Moderador

    I'm a beginner to programming and to Progress, first post on StackOverflow, hope I'm posting in the right place!

    I have a fillin field where I enter a time (hh:mm), character format. I also have two arrows, one pointing forward and one backward, and I want them to add / subtract 20 min respectively when pushed.

    What would be a good way to write code for this? Turn the current time value to integer and seconds past midnight and then add /subtract 1200 sec? How would I get the result back to a hh:mm format to display in the fillin?

    Any help greatly appreciated! /Ellen

    Continue reading...

Compartilhe esta Página