Date Representation
Going forward in time, the date component of a serial value increases by 1 each day.
There are two different bases for serial values:
In the 1900 date base system, the lower limit is January 1, 1900, which has serial value 1. The upper-limit is December 31, 9999, which has serial value 2,958,465.
In the 1904 date base system, the lower limit is January 1, 1904, which has serial value 0. The upper-limit is December 31, 9999, which has serial value 2,957,003.
A serial value outside of the range for its date base system is ill-formed.
WEEKDAY
shall return a value for the day immediately prior to the correct day, so that the (non-existent) date February 29 has a day-of-the-week that immediately follows that of February 28, and immediately precedes that of March 1.For the 1904 date base system:DATEVALUE("01-Jan-1904")
results in the serial value 0.0000000…
DATEVALUE("03-Feb-1910")
results in the serial value 2225.0000000…
DATEVALUE("01-Feb-2006")
results in the serial value 37287.0000000…
DATEVALUE("31-Dec-9999")
results in the serial value 2957003.0000000…
]