Forcing seconds to 00

Hello,
is there a way to always force the seconds to zero when a user enters the time from the calendar?
Thanks!
Marco

Hi

not sure where exactly you need this
var d = myForm.getItemValue(“calendar_id”);
d.setSeconds(0);

Thanks Andrei!
I think this wil work fine… I have many calendars on a form and I take their differences… If the hours and minutes are the same but not the seconds, comparisons will not be accurate…
Marco