By default, the Percent Clock is set to show the average workday as a percentage: Monday - Friday between 9 am - 5 pm.
- At 9 am the percent clock displays 0%.
- At 5 pm the percent clock displays 100%.
- Between 9 am - 5 pm the Percent Clock displays the % of the work day that has past.
- Before 9 am the clock displays a negative (-) percentage.
- After 5 pm the clock displays a positive (+) percentage.
Percent Clock Formula
The Percent clock is calculated based on total seconds within the timeframe. For those interested, here's the formula:
- totalSeconds = (endHourInSeconds + endMinutesInSeconds) - (startHourInSeconds + startMinutesInSeconds)
- secondsSinceStart = now - start
- progress = (secondsSinceStart / totalSeconds) * 100
Example
If your schedule is set from 12pm—12am (i.e. 12:00 to 24:00/0:00), the % at 6pm (i.e. 18:00) will be 50%.
- totalSeconds = (12*60*60) - (24*60*60) = 129600
- secondsSinceStart = (18*60*60) = 64800
- progress = (64800 / 129600) * 100 = 50 (%)
A positive (+) percentage displays when you have surpassed your
+X is any time after, say you do a 9-17. 8 hour work day. Then it’s 21, that’s +50%. Cos now it’s 4 hours after you have worked
I think until midnight, where the values then become (-x)
then after it could be 1:00, its -100% before its 9. 8 hours before you start your work day