Where Did the Quiet Day Go?

Define UTC timestamps, half-open reporting intervals and a calendar spine so missing days do not disappear or midnight events get counted twice.

14 sections · 4 questions · 1 coding challenge

1 / 14

Event Logs and Calendars Answer Different Questions

BOTIE

Time values have to represent both instants and calendar conventions. SQLite supports date calculations over defined text and numeric representations rather than a dedicated date/time storage type. That makes a consistent representation an application responsibility.

A daily report needs more than a timestamp function. It needs a set of expected days. Joining a calendar to an event log preserves days that have no matching event, just as an asset register preserves pumps that have no visit.

Sources for this history