go to the template,
in the child of the template select the item that represents the time field,
add a regex in the validation field to validate the selected value, and save
if the user select an invalid value, an error message will appear to warn
use the ValidationText Field to add an error message