๐ Documentation
Standards, best practices, and code examples for handling time in software development. Everything you need to avoid becoming another time crime statistic.
Standards
UTC, POSIX time, IANA tzdb, RFC 3339, ISO 8601, and other time standards explained.
Cookbook
Practical recipes for common time handling scenarios with code examples.
Test Cases
Downloadable test cases for edge cases, DST transitions, and timezone changes.
๐ง Language Guides
Go
Master Go's time package with safe timezone handling and testing patterns.
Java
Modern Java time API (java.time) best practices and migration from legacy APIs.
C#
DateTimeOffset vs DateTime, TimeZoneInfo, and Entity Framework integration.
Python
Modern datetime, zoneinfo, and timezone handling for robust Python applications.
JavaScript
From Date API limitations to Luxon best practices for modern JS development.
API Reference
Complete API documentation for the 1337 Clock endpoints and utilities.
(Coming Soon)Glossary
Definitions of time-related terms, acronyms, and concepts.
(Coming Soon)Checklists
Pre-deployment checklists and code review guidelines for time handling.
๐ฏ Quick Start Guide
Golden Rules
- โข Store everything in UTC
- โข Convert to local time only for display
- โข Never do date arithmetic in local time
- โข Always specify timezone explicitly
- โข Test around DST transitions
Common Pitfalls
- โข Assuming 24-hour days (DST!)
- โข Mixing seconds and milliseconds
- โข Hardcoding timezone offsets
- โข Ignoring leap years and leap seconds
- โข Using naive datetime objects
๐ "It's 13:37 Somewhere"
The comprehensive guide to surviving time in software development. From the creators of 1337 Clock, coming soon.