[Stackoverflow] [Progress OpenEdge ABL] Code to add x minutes to time in fillin field

Status
Not open for further replies.
E

Ellen

Guest
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 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...
 
Status
Not open for further replies.
Top