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 6581 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

I have a calculation that times how ling someone is in a record.

i.e TimeFinish - TimeStart = Actual Time

My problem is when a record is created at

23:30 and finishes the next day/morning at 00:30 I have a minus time calculated....

same thing applies if it were 12 hour clock. If not worse as it happens twice a day.

How can I over come this one?

Posted

Hi

Assuming that you have 8 Advanced as shown under: "This Post", you can change your TimeFinish to a TimeStampFinish

and

your TimeStart to a TimeStampStart

The calc: TimeStampFinish - TimeStampStart ( result time ) will give you the correct Actual Time

Posted

You could change your fields to Timestamp type. Alternatively,

TimeFinish - TimeStart + ( TimeFinish < TimeStart ) * 86400

should work, provided no one stays long enough to cross midnight more than once.

Filemaker's time calculations are ALWAYS based on 24-hour clock.

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