Time Input

Used to input or edit a time in hours/minutes, and possibly seconds.

Properties

PropertyDescription
AmPmIf True, the time will be in 12-hour format; if False, in 24-hour format (False by default) (Qubes 6.7).
EnabledBoolean indicating whether or not the component is enabled.
HintSpecifies the user hint string that will appear in the component's interactive help bubble.
ModuloMinutesIndicates 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.
TabIndexInteger indicating the component's tab order (Qubes 5.6).
ValueInitialDetermines the component's initial value when the screen opens and each time it is reset (see Reset Button).
ValueMaxMaximum time value allowed. If empty, that means there is no maximum time.
ValueMinMinimum time value allowed. If empty, that means there is no minimum time.
VisibleBoolean indicating whether or not the component will be visible.
ShowSecondsIf 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())

Classification

Standards