How can i subtract from out - in = spent?

you best let MySQL calculate the difference.

SELECT in, out, TIME(out - in) AS spent FROM ...
1 Like

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.