Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

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

Recommended Posts

Posted

Hello

I have a calculation field that adds together some time fields. (a+b+c=d)

At the moment the answer of d is always hours:mins:seconds

Im struggling to find a way to round up or down the result to the nearest minute, 10mins, or hour.

(Ive tried the Round, Ceiling and Truncate functions without effect).

Any ideas?

Posted

Try Round ( TestTime / 600 ; 0 ) * 600

Time is number of seconds from midnight. 10 minutes = 600 seconds, so dividing by 600 gives the number of 10 minute parts. The Round gets rid of the fraction. Mutipling by 600 gets it back to time.

This topic is 7280 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.