Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 7165 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

Hello,

hopefully someone can point me in the right direction with this one, I have two value list of times, start time and end time and I have another field that's a calculation field based off of my two time value list when I subtract end time from start time I get and whole number for instance 1, 2, 3 and I would like a more accurate calculation for instance

START TIME ??? 4:00 AM

END TIME : 5:15 PM

RESULT : 13.15 HOURS USED

IS THIS POSSIBLE?

Posted

Set your Result field's format to display the decimal portion of the number (Result IS a number result, right?)

Posted

If both END TIME and START TIME are Time fields, and your calculation field result is set to Time, then that should be it.

Check how the field is formatted to display Time (in Layout mode).

Posted

Oops, thought you were looking for the decimal remainder, but that's a different calc (13.25 hours, instead of 13:15 hours.)

Posted

Sorry, I'm a little confused and it may be my fault, I have two value list with times, the user selects the time my RESULT field is simply a calculation field that subtracts END TIME from START TIME and the result that I want is a decimal remainder for instance 13.25 hours used

Posted

In that case the Result calc would be:

Result (calculation, number result) = (End Time - Start Time) / 3600

Where this field is displayed, it should be formatted to have 2 decimal places.

Posted

Result is not a function, it's the name of your calc. "calculation" is the field type and "number result" is the type of result the calculation produces. There's not a great way to describe field definitions, so we use this format.

This topic is 7165 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.