This is a migrated thread and some comments may be shown as answers.

Increase date by 2 days by default.

0 Answers 66 Views
Date/Time Pickers
This is a migrated thread and some comments may be shown as answers.
Brahmaiah
Top achievements
Rank 1
Brahmaiah asked on 27 Apr 2012, 10:49 PM
How to add the date by 2 days from the current date by default when the page is displayed using datepicker

$(

 

"#toDate").kendoDatePicker({

 

value:

 

new Date(),

 

min:

 

new Date(1950, 0 ,1),

 

max:

 

new Date(2049,11,31)

 

})

Here by default it is giving current date for example 4/27/2010, but I wanted it to diplsay by + 2 days i.e 4/29/2012.
How can I achieve this?


No answers yet. Maybe you can help?

Tags
Date/Time Pickers
Asked by
Brahmaiah
Top achievements
Rank 1
Share this question
or