calculating times in 15 minute increments | Community
Skip to main content
September 9, 2013
Question

calculating times in 15 minute increments

  • September 9, 2013
  • 12 replies
  • 41530 views

Good Afternoon,

I am making a form where we report how much leave is being used. The leave will be reported in 15 minute increments. (Ex: fifteen minutes = .15; one-half hour = .30; 45 minutes = .45) I need to be able to add these up and have them keep this format of 15 minute increments. Also, I need the display to be a decimal instead of a colon, if possible. (Ex. 3.45 instead of 3:45).

any advice is appreciated!!!

Gene-O

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

12 replies

September 10, 2013

Thanks so much for trying to help!!

I need to calculate leave taken by an employee in 15 minute intervals.

For example:

1.15 hours of vacation (one hour and fifteen minutes)

+2.30 hours of holiday leave (two hours and thirty minutes)

+ 4.45 hours of sick leave (four hours and forty-five minutes)

= 8.30 hours of total leave taken (eight hours and thirty minutes)

Anything I try has calculated it as:

1.25

2.50

4.75

=8.50

I have to have it formatted in 15 minute increments instead of decimals

Any ideas?

Gene-O

September 10, 2013

as far as the colon and decimal this can be done under patterns

example

num{zzzz9:99}

but could you give a little more detail Im a little hazy on what your trying to do

The easiest thing may be to break it into 2 fields or three if days

___days   ____hours  ____min

this way you can manipulate the data a little easier depending on your requirements

Sorry if Im no help still a little hazzy on what yoru trying to do as far as summing

are you going to chang the .15 to a .25 for your calculations ?? and then translate them back to 15 min incriments etc....