Set time field not displaying as intended

Discussion created by thehalpeen on Jan 30, 2017
Latest reply on Feb 1, 2017 by siplus

I have a global time field called gStartTime formatted via the Inspector as hh:mm and 12 hour. It can be populated from a list of values in 30 minute slots ie 8:30 AM, 9:00 AM, 9:30 AM, 10:00 AM, 10:30 AM, etc. This field is used to set another 'time' field in another table - it displays as HH:MM.


However, I have a button with a script  - (Menu::gStartTime + 300)/1 - that adds 15 minutes to the drop down times. So if a user selects 10:00 AM from the Dropdown list, they can then add 15 minutes via the button.


The problem is that the field that it sets in the other table, displays as HH:MM:SS and not HH:MM. As I said, if the user just selects the values from the dropdown list, it will display as I intended, but adding the 15 minutes, changes the formatting to include the 'seconds'. Is this solveable?