Use Time Picker parameters in scripts

I am not sure it makes sense to use it in a scripted field attached to a doc, because the time picker will be applied to those docs.

What exactly do you want to do here, what's the end goal?