Time (C)

From NSB App Studio
Jump to navigation Jump to search

Description

The Time control allows the input of a time. The result is returned as a string in value.

When the control is selected at runtime, a special month picker is displayed.

It is supported starting with iOS 5. It is not supported on Android at this time.

To add a control to your app, choose the control’s icon in the Toolbar, then position it on the Design Screen. Use the Property Editor to set the properties you need, then add functions to your code to respond to the events that come from the control: usually, just onclick.

Properties

Standard properties are supported, plus:

value The time value of the control.

To set the time, use format 09:14 PM.

Events

Standard events are supported,

Example


Output

(value is set to “2:09 PM”)

Related Items

Date, DateTime, Month