Probably boring to most people but I created a tool to nail exactly 40 hours a week contracting using the laziest possible inputs getting me out as early as possible on Friday:
https://github.com/cynoclast/time
Usage example:
tm 8.5 9.27 8.83 8.87 9:45-1:23 1:33-
14:11
54 minutes
Notice you don't have to give it AM/PM? Also don't have to give it any flags. It figures out what to calculate based on number of arguments alone. And it knows 9:45 to 1:23 is around 4 hours, not -8.
And during the week, decimal hours for timesheets:
tm 8:30-12:30 12:40-6:40
10.0
I used it 5x a week during my contracting days.
replies(1):