hi all
I want to set constant default value of the time only in datetimepicker control .
can any one help me ?please
hi all
I want to set constant default value of the time only in datetimepicker control .
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Sourabh SomaniRank #37 · 35.5K reputationPosted Nov 13, 2015, 7:36 AM EST
Banketeshvar NarayanRank #235 · 10.5K reputationPosted Nov 13, 2015, 7:39 AM EST
It can be done as follows:
HTML
jQuery
$("#startdatetime-from").data('datetimepicker').setLocalDate(new Date(year, month, day, 00, 01));You can check it online in jSFiddle at
http://jsfiddle.net/CujDK/5/
Please mark as answer if it helps you
Sourabh SomaniRank #37 · 35.5K reputationPosted Nov 13, 2015, 8:05 AM EST