1#define DIFFTIME 0x19db1ded53e8000ULL
2#define DIFFDAYS (3 * DAYSPER100YEARS + 17 * DAYSPER4YEARS + 1 * DAYSPERYEAR)
5#define DAYSPER4YEARS (4*DAYSPERYEAR+1)
6#define DAYSPER100YEARS (25*DAYSPER4YEARS-1)
7#define DAYSPER400YEARS (4*DAYSPER100YEARS+1)
8#define SECONDSPERDAY (24*60*60)
9#define SECONDSPERHOUR (60*60)
33 long quadcenturies, centuries, quadyears;
35 days -= quadcenturies;
39 return quadyears - centuries + quadcenturies;
static __inline long leapdays_passed(long days)
static __inline long years_passed(long days)
static __inline __time64_t FileTimeToUnixTime(const FILETIME *FileTime, USHORT *millitm)
static __inline long leapyears_passed(long days)