Use the following code to create a basic inputEx TimeField.
field = new Y.inputEx.TimeField({ parentEl: 'container1', value:'15:17:34' }); var button = inputEx.cn('button', null, null, 'getValue'); Y.one(button).on('click',function() { alert(field.getValue()); }); Y.one('#container1').appendChild(button);
Use the separators attribute from CombineField to change the separator strings.
new Y.inputEx.TimeField({ parentEl: 'container2', separators: [false,"h","m","s"], value:'15:17:34' });