Entering time manually

Hi folks,

I got a recent question about how to enter a time manually. The normal way to do this is to allow users to enter hour and minute separately. Then they are then combined in an “Element Formula” control. For example:

Screen 1 = Number keypad with Result Element for hours
Screen 2 = Number keypad with Result Element for minutes
Screen 3 = Screen with Element Formula, Element A = Hours, Element B = Minutes, Formula = “(A / 24) + (B / (24 * 60))” and ‘Output as time’ checked.

This works, because a time is a fraction of a day, i.e. 0.5 = midday.

Cheers,
-Justin

1 Like