Combination View Flat View Tree View
Threads [ Previous | Next ]
Kiran Kumar Boyini
Code to get the time option in aui date picker.
February 14, 2013 1:35 AM
Answer

Kiran Kumar Boyini

Rank: Expert

Posts: 282

Join Date: June 2, 2011

Recent Posts

Hi All,

i am using the aui datepicker ,it working fine with date format.Now I want to get the time option also .

See the code below.

1
2AUI().use('aui-datepicker', function(A) {
3                   var simpleDatepicker1 = new A.DatePicker({            
4                     trigger: '#<portlet:namespace />fromDate',
5                     calendar: {dates: [ ], dateFormat: '%Y-%m-%d' }    
6                   }).render('##<portlet:namespace />/>fromDate');


Now I want code which is for time option for the above code.

Regards,

Kiran.