Subtract hours

Help me subtract hours for two fields

example

6:15

6:00


0:15

Thanks

Subject: Subtracting Dates, Just do it. The result is in Seconds.

Subject: RE: Subtracting Dates, Just do it. The result is in Seconds.

Not necessarily

Example

3:48

2:48


1:48

Thanks

Subject: RE: Subtracting Dates, Just do it. The result is in Seconds.

given the example that i posted a few days ago you do get the right answer - but the genteman before me was correct the answer is in seconds.

Subject: RE: Subtracting Dates, Just do it. The result is in Seconds.

I have no idea what you are doing with the result, but Bill is right. Remember that the result is just a number representing the number of seconds between values. You cannot convert that to a time value, since time values are time-of-day, not elapsed time. If you want to display it as hh:mm:ss, you need to convert the value to a string and do all of the divisions yourself.

Subject: Try this:

Create a new memo and Paste the following into the Subject Field:@TextToTime(“2:48”) - @TextToTime(“1:48”)

Hit Shift F9. The formula will evaluate to 3600 (i.e. the number of seconds in an hour).

Subject: RE: Try this:

Thanks for help

@TextToTime(fieldONE) - @TextToTime(fieldTWO)

Error: Incorrect data type for operator or @Function: Text expected

fieldONE = 4:46

fieldTWO = 4:00


fieldResult = 0:46

I am grateful to him(her) very much for his(her,your) help