Skip to main content

Time Utilities

The Time Utilities module (lib/time.ts) provides standardized date and time helper functions used across the application.

Core Functions


Timezone Safety

All time operations use dayjs with timezone awareness. Epoch timestamps stored in SQLite and Convex are always in UTC. Display formatting always converts to the device’s local timezone.