AnthisCareerAcademy / EasyPunchCard

This will be an Open source punch card system that the Anthis Career Academy Software Development Class will be developing for internal use.
MIT License
1 stars 4 forks source link

Clock class #2

Open martincarapia opened 2 days ago

martincarapia commented 2 days ago

This is the clock class, making it easier to use the datetime methods in reference to the rest of the code.

We need a function that can be easily called to clock in/clock out. There should also be a method to find the amount of time spent between two times. For example, how long has it been from 1pm to 5pm. This is needed to calculate total hours spent by a user.