ref: 56f48a1788a3d7e1e6ee53d58f4849c6b9b3a01c dir: /src/libc/time/_newyear.c/
/* * Happy New Year!!!! */ int _newyear(int year) { int day; year += 1900 - 1; day = 1 + year + year/4; day -= year/100; day += year/400; return day % 7; }