Seconds can advance correctly while the calendar inserts the wrong day. Check clock accuracy, the real-time clock's supported year range, and how the host interprets the year. Automatic leap-year handling applies within the specified range.
Use offline date playback with synthetic environmental-logger history. Keep production equipment, network time services, and control devices outside the test. Verify the RTC's date fields and guaranteed calendar range in its specification.
The length of one second and the date rollover are separate checks
The RTC oscillator supplies timing cycles. A small frequency error usually gives increasing time error during continuous operation. Date rollover requires month length and leap-year rules, implemented by the RTC, host software, or both. A sudden one-day difference at a date boundary calls for checking the calendar logic.
Some RTCs expose only the last two year digits. Another field or host setting establishes the century. The same raw digits can yield a different exported century. Preserve the local formatted text and any independent raw timestamp.
Calendar representation, host display, and database acceptance also differ. Label test dates outside the guaranteed hardware range, even if the software can display them.
Worked examples: seconds of drift versus a one-day jump
In the Gregorian calendar, a year divisible by 4 is a leap year except century years, which must also be divisible by 400. In 2096, the sequence is February 28, February 29, then March 1. In 2100, February 28 goes straight to March 1. These are offline calendar examples. Verify hardware support separately.
Suppose hardware is guaranteed through 2099 and an offline model checks divisibility by four using two digits. If the host interprets 00 as 2100 and applies the same shortcut, it can display an invalid February 29. Record raw year digits, century source, and resulting date to distinguish hardware range, software behavior, and input errors.
A hypothetical constant 20 ppm error over 86,400 seconds is 86,400 × 20 ÷ 1,000,000 = 1.728 seconds. This comparison does not measure a device or rule out resets, power loss, or clock failure. It distinguishes an ordinary proportional timing error from a calendar boundary that adds a full day.
Verify date boundaries offline
Test ordinary and leap-year February rollovers and a year transition. Retain raw date fields, full converted date, and exported file for each case. Test beyond the supported range only in an approved simulator or replay. Specify whether the expected result is rollover, rejection, unknown status, or defined host handling.
| Acceptance area | Record | Distinguish |
|---|---|---|
| Calendar fields | Raw width, year interpretation, and supported range | Representable digits versus correct rollover |
| Date rollover | Records before and after the boundary from the same device | Ordinary month-end, leap day, and year transition |
| Software records | Device time, display, export, and acceptance rules | Hardware calendar behavior versus interpretation |
| Frequency | Independent reference, supply state, and run conditions | Continuous clock accuracy when needed |
Automatic synchronization can hide the initial error. Test offline replay and synchronized display separately with controlled time inputs. If dates can be changed in service, verify preservation of existing records after the adjustment.
Use the same instant, time zone, and date field for comparison. Different zones can show different calendar days for one instant. For data without a zone, document its original convention rather than assigning the reviewing computer's zone.
Specify the guaranteed year range in purchasing
Epson's RX8111CE includes a 32.768 kHz quartz crystal. X1B000421000115 identifies the A option. The stated automatic leap-year range is 2001 to 2099 under the documented rules. Verify date support, read interface, validity state, backup conditions, and complete ordering code for another option or model. This is an engineering example independent of the installed parts in a commercial logger.
Separate frequency specifications, supply, and temperature from system acceptance for date range, year boundaries, and time formats. Even without a far-future date requirement, verify how software handles unsupported input.
For historical imports, use one synthetic record with a known century and one with an unknown century. For the latter, follow the defined reject, flag, or review path. Preserve original data and the resolved interpretation.
After an update, retest display, sorting, and archive or monthly totals using the same month-end records. Note which function reads the full date and which reads two digits.
Frequently asked questions
Can a more temperature-stable crystal fix an invalid leap day? Temperature stability affects timing. Verify Gregorian logic and year-field interpretation separately.
Is testing February 28 alone enough? Test records before and after the transition, including leap-year and out-of-range cases.
