Calculating Time

G

Guest

I have two fields on a form called Start time and Duration. The duration
field is inputted manually in hours and minutes.

I am wanting to calculate the total time on the Duration field

How do I achieve this?

David
 
S

Stefan Hoffmann

hi David,

David said:
I have two fields on a form called Start time and Duration. The duration
field is inputted manually in hours and minutes.
It would be better to store the end time.
I am wanting to calculate the total time on the Duration field
Take a look at DateAdd/DateDiff in the OH.


mfG
--> stefan <--
 
G

Guest

David,

How are you storing hours and minutes, as a text string "hh:mm", or in some
other format?

I agree with Stefan that it is easier to store the end Time.

BTW, I would use a full date/time format to store a date/time combination
rather than just storing the time.
 

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