lapier123
Novice

Date and Time Intervals

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?

Reply
2 Replies
jayesh
Novice

Re: Date and Time Intervals

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

0 Kudos
Reply
Nunezma
Explorer

Re: Date and Time Intervals

Did you find a solution ?
0 Kudos
Reply