Using a TimePicker requires the "ui/time-picker" module.

import * as timePickerModule from "tns-core-modules/ui/time-picker";

Configuring a TimePicker

var timePicker = new timePickerModule.TimePicker();
timePicker.hour = 9;
timePicker.minute = 25;
Is this article helpful? Yes / No
Thank you for your feedback!

Tell us how we can improve this article

NativeScript is licensed under the Apache 2.0 license .
© Progress Software Corporation. All Rights Reserved.