I made a clock, so with one button you can check in/out (a little more complex)
time-in: When you clock in
time-out: When you clock out
sum: The summary of time-out - time-in (then divide by 60, so you can see it in hours/minutes)
But now i’m struggling with, extracting overtime.
e.g
If someone works later then 05:00 pm, I want that time in the field “overtime”
I need suggestions, or maybe even a kind soul to help me out.
got a little workaround (not a good one)
Overtime = Time out - Date&Time Value (07:00 pm) then press a bottom and voila the time is in “Overtime” field.
But i wanna do a little simpler, if possible.
So, this worked out great, got the hours.
But the problem is, i really need the minutes
since the “Extract” option, only take full hours,
so if the time is 17:32, it wont count the minutes.
ok, so we ended up hiding a decimal input to help out with the math - now it shows in minutes and can be changed to minute blocks, half hour and so on by adding a :roundedby operator to the end of overtime input.