TimePickerFunctions

Last Updated:

Actions for working with Time Picker object


[How To Read This Reference]
GetTime
DRD
Action to get time from a time picker component and assign it to a variable.
SetTime
DRD
Action to set time for a time picker component according to its TimeValue.

TimePickerFunctions::GetTime
DRD

Action to get time from a time picker component and assign it to a variable.


Fields: [ ]=Optional with Default Value
  1. VariableName
    The name of variable to contain the time string of TimePicker.

    The name of variable to contain the time string of TimePicker. The time string will be in format "HH:mm:ss", the hour is in military format (24-hour).

Examples:
  • T, WINDOW, TimePicker, GetTime, currentTime
    The variable currentTime will contain the time string in format "HH:mm:ss", the hour is in military format (24-hour). If current time is "21:12:53", then currentTime will equal to "21:12:53".


[How To Read This Reference]

TimePickerFunctions::SetTime
DRD

Action to set time for a time picker component according to its TimeValue.


Fields: [ ]=Optional with Default Value
  1. TimeValue
    TimeValue to set.

    TimeValue to set. It can be in format of "HH:mm:ss" or "HH:mm". The hour should be in military format (24-hour). For the second, it is ignored for now, as Android TimePicker doesn't support it yet.

Examples:
  • T, WINDOW, TimePicker, SetTime, "23:45:12"
    The time of TimePicker is set to "23:45". The second 12 is ignored for now.


  • T, WINDOW, TimePicker, SetTime, "7:56"
    The time of TimePicker is set to "7:56".


[How To Read This Reference]