Skip to main content

Is there a way I can change the time intervals from 5 minutes  to 1 minute  when selecting the Date and Time control on a list? I saw Mary's solution of this here, however since we're creating a form that will have over 100 Date and Time columns it would be too time consuming to do it this way. Any suggestions?

Hi Laura,

jQuery simple Date Time picker might work for you.

jQuery simple datetimepicker

Please refer to the below site

https://www.npmjs.com/package/jquery-simple-datetimepicker

To set the interval use "minute_interval" option:

<script type="text/javascript">
        $(function(){
            $('#date_picker').dtpicker({
                'minute_interval' : 15
            });
        });
</script>

Hope this helps

regards,

JJ


Did you find a solution ?

Reply