Military/24-Hour Time Validation Rule

N

Natalie

I am trying to create a validation rule that allows only military or 24-hour
clock time.

Is it's possible to have a validation rule that allows a number range of 00
to 23 for hours, and 00 to 59 for minutes? I've already created a
hour:minute format, but not sure if this is the best approach.

If it is possible, is it possible to set it up so that if the time is 1:34
PM it gets entered as 13:34 and not 1:34 which is really AM on the 24-hour
clock time.

Thanks in advance,
 
P

Paul Overway

If you are storing the entry into a date/time field, it won't really matter
how it gets entered. It gets stored as a double....and you can display it
however you want. You can use an input mask (i.e., 00:00) for data entry,
but there really isn't much validation that can be done because whether a
person enters 1:00 or 13:00, they're both valid times.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top