[All Lists] [By Thread] [By Date] [Previous] [Next]
From: Devorah
Subject: The epoch question
Date: 17 Shevat 5780
I am implementing date arithmetic. Adding days to a date. Calculating intervals between dates.
The standard approach is to convert dates to a numeric value (days since some reference point), perform arithmetic, then convert back. This is how Unix time works: seconds since 1 January 1970.
What is our epoch?
The specification does not say. It defines date representation but not date arithmetic. But any implementation will need a reference point.
Thread: