How do I format InfoPath to military time?

K

Ksyler

In the detailed time sheet I would like to use military time, no colon, and
break the hour up in 10 - 6 minute blocks. This would allow a user to insert
1400 as a start time and 2231 as a time out. This would be calculated as 8.6
hours worked.
 
A

Anjan Patel

you can use 2 text box and the calculate those values once values are
changed (onafterchange()) or after some button click event.

You can use RegEx... functions to format the values.
 
B

Brian Teutsch [MSFT]

And if you were thinking about using the "Time" data type, you won't be able
to format the textboxes as you're looking for. You'll have to use a normal
text or integer data type, and perform the calcuations using those.

Brian
 

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