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

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

Recommended Posts

Posted

Does anyone know of a solution to track working hours? I would like to use a simple solution where the user login on his/hers account and register the working hours. Does anyone have any suggestions how to do this solution or is there a solution ready to use today? by the way, i am using FMP7.

Posted

Hi. This isn't a complete/detailed answer, more of a possible scenario.

When a user logs in you could populate a global field with the current date using Get(CurrentDate). At the same time populate another field with the time of the login using Get(CurrentTime).

Once user logs out you can grab Get(CurrentDate) again and Get(CurrentTime).

Compare logout CurrentDate to the global date you stored previously. That will tell you if they have worked past midnite if the 2nd date is greater than the 1st by a day.

Use the date calc to drive another calc that subtracts login from logout to determine how long they have worked.

FM7 has a good function to convert time differnces to durations.

Kurt

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