Examples

This section includes examples that describe the ON clock process.

Example 1: Clock is within MAX_OFF_TIME

An employee has these clocks for the February 9 work summary:

  • ON February 9, 9:00AM (09:00).
  • OFF February 9, 12:30PM (12:30).
  • The MAX_OFF_TIME value is 2.
  • The ON_CLK_ADJ_MIN value is 0.

These steps describe the process:

  1. The processing of an ON clock punch for February 9 at 1:30PM (13:30) is started.
  2. The first calculation is performed: 12:30 + 2:00 = 14:30.
  3. Because the ON clock punch is before 14:30, the clock is placed on the work summary for February 9.

Example 2: Clock is not within MAX_OFF_TIME and is before the Day Start Time

An employee has these clocks for the February 9 work summary:

  • ON February 9, 9:00AM (09:00).
  • OFF February 9, 5:30PM (17:30).
  • The MAX_OFF_TIME value is 2.
  • The employee's Day Start Time is 8:00AM (08:00).
  • The ON_CLK_ADJ_MIN value is 0.

These steps describe the process:

  1. The processing of an ON clock punch for February 10 at 7:30AM (07:30) is started.
  2. The first calculation is performed: 17:30 + 2:00 = 19:30. The new ON clock punch is not before 19:30.
  3. The Day Start Time is checked to determine if it is between 12:00 and 23:59. Since it is not, the next option is checked.
  4. The Day Start Time is checked to determine if it is between 00:00 and 11:59.
    1. If the Day Start Time is between 00:00 and 11:59, the clock is checked to determine if it is before or after the Day Start Time.
    2. Because the clock is before the Day Start Time, the clock is placed on February 9.

Example 3: Clock is not within MAX_OFF_TIME and is after the Day Start Time

An employee has these clocks for the February 10 work summary:

  • ON February 9, 9:00PM (21:00).
  • OFF February 10, 5:30AM (05:30).
  • The MAX_OFF_TIME value is 2.
  • The employee's Day Start Time is 8:00PM (20:00).
  • The ON_CLK_ADJ_MIN value is 0.

These steps describe the process:

  1. The processing of an ON clock punch for February 10 at 9:00PM (21:00) is started.
  2. The first calculation is performed: 05:30 + 2:00 = 07:30. The new ON clock punch is after 07:30.
  3. The Day Start Time is checked to determine if it is between 12:00 and 23:59.
  4. If the Day Start Time is between 12:00 and 23:59, the clock is checked to determine if it is on or before the Day Start Time. Because the clock is after the Day Start Time, the clock is placed on February 11.