Skip to main content

 

 

 

 

Template:OutSystems/Documentation_KB/Breadcrumb_New_Layout

 

 

Template:OutSystems/OSLanguageSwitcher

 

Applies only to Traditional Web Apps

 

 

OutSystems

Time Picker

Template:OutSystems/Documentation_KB/ContentCollaboration
  • Edit
    Collaborate with us
    Edit this page on GitHub
  • You can use the Time Picker UI Pattern to select a single time from a drop-down list.

    How to use the Time Picker UI Pattern

    1. In Service Studio, in the Toolbox, search for Time Picker.

      The Time Picker widget is displayed.

    2. From the Toolbox, drag the Time Picker widget into the Main Content area of your application's screen.

    3. By default, the Time Picker widget contains an Input widget. It is mandatory to create a new local variable for this Input widget.

    4. Set the variable Data Type to Time.

    5. On the Properties tab, you can change the look and feel of the Time Picker widget by setting the (optional) properties.

    6. After following these steps and publishing the module, you can test the pattern in your app.

    Properties

    Property Description
    StartTime (Time): Optional The first time option that appears in the drop-down. Make sure that the time is set according to the Interval property (if set).

    Examples

    • Blank - 12:00am is displayed as the first option in the drop-down. This is the default.
    • 15:00 - 15:00 is displayed as the first option in the drop-down.
    Interval (Integer): Optional Interval of time (in minutes) between the drop-down options.

    Example
    • Blank - The interval between each option is set to 30 minutes. This is the default.
    • 60 - The interval between each option is set to 60 minutes.
    Is24hFormat (Boolean): Optional If True, the time format is 24 hour. This is the default. If False, the time format is 12 hour.
    AdvancedFormat (TimePickerAdvancedFormat): Optional Allows for more options than the ones given in the input parameters.

    Inputs

    TimePickerAdvancedFormat

    • DisabledTimes (Time List)
    • MinTime (Time)
    • MaxTime (Time)
    • StartEmpty (Boolean)
    • Was this article helpful?