On-Line Forms Time Calendar without seconds

Tommy De Notarpietro asked on November 29, 2016 09:39

Is there a way to disable the seconds in the Calendar control on the On-Line Forms? I set "edit time" true, so the user can fill in the date and time ( now in hours, minutes and seconds ).

Recent Answers


Richard Sustek answered on November 29, 2016 12:01

Unfortunately the DateTimePicker control which the Calendar form control uses do not support disabling seconds only. I'm not sure about your requirements & usage, but if this is really important for you (important because you can always ignore seconds in your logic) you can always create your own form control using 3rd party calendar which might support it (google jQuery/bootstrap calendar - eg: http://www.learningjquery.com/2015/03/14-top-calendar-and-date-picker-jquery-plugins)

2 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.