The text e011bd145bc4, as FreeBSD 6.4-RELEASE shipped it.
Calendar arithmetic for the Christian era
weekday(3) on FreeBSD now