Time Input
Used to input or edit a time in hours/minutes, and possibly seconds.
Properties
| Property | Description |
| AmPm | If True, the time will be in 12-hour format; if False, in 24-hour format (False by default) (Qubes 6.7). |
| Enabled | Boolean indicating whether or not the component is enabled. |
| Hint | Specifies the user hint string that will appear in the component's interactive help bubble. |
| ModuloMinutes | Indicates the allowed multiples of minutes, If empty, all minute values are allowed. For example, a value of 15 will allow input of 0, 15, 30 or 45. |
| TabIndex | Integer indicating the component's tab order (Qubes 5.6). |
| ValueInitial | Determines the component's initial value when the screen opens and each time it is reset (see Reset Button). |
| ValueMax | Maximum time value allowed. If empty, that means there is no maximum time. |
| ValueMin | Minimum time value allowed. If empty, that means there is no minimum time. |
| Visible | Boolean indicating whether or not the component will be visible. |
| ShowSeconds | If True, the time will be input and displayed including seconds (hh:nn:ss format); if False, the format will only be in hours/minutes (hh:nn). |
Value
The time is returned in the form of its numerical fraction of a day (1 = 0:00, 0.5 = 12:00, etc.).
Returns #VAL! if the restrictions are not met.
Remarks
Input is either in numerical format (fraction of a day) or in 24-hour format (12-hour clock option available starting in Qubes 6.7).
To input a complete date/time, this component can be used in combination with the Date component.
The ValueMin and ValueMax must have a format of "hh:nn:ss" or "hh:nn" or must be a numerical fraction of a day.
Examples
To set the time selector to the current time, enter the following formula in the ValueInitial field:
=FormatDateTime('hh:nn', Now())