Time Formatting and Storage Bugs - Years 32,768 and 65,536

Years 32,768 and 65,536

Programs that process years as 16-bit values may encounter problems dealing with either the year 32,768 or 65,536, depending on whether the value is treated as a signed or unsigned integer.

In the case of the year 32,768 problem, years after 32,767 may be interpreted as negative numbers, beginning with −32,768. The year 65,536 problem is more likely to manifest itself by representing the year 65,536 as the year 0.

Read more about this topic:  Time Formatting And Storage Bugs

Famous quotes containing the word years:

    Neither years nor books have yet availed to extirpate a prejudice then rooted in me, that a scholar is the favorite of Heaven and earth, the excellency of his country, the happiest of men. His duties lead him directly into the holy ground where other men’s aspirations only point. His successes are occasions of the purest joy to all men. Eyes is he to the blind; feet is he to the lame. His failures, if he is worthy, are inlets to higher advantages.
    Ralph Waldo Emerson (1803–1882)