encyclopegia.org

Date windowing

Date windowing is a method by which dates with two-digit years are converted to and from dates with four-digit years.[src] The year at which the century changes is called the pivot year of the date window.[src] Date windowing was one of several techniques used to resolve the year 2000 problem in legacy computer systems.[src]

Date windowing is a method by which dates with two-digit years are converted to and from dates with four-digit years.[src] The year at which the century changes is called the pivot year of the date window.[src] Date windowing was one of several techniques used to resolve the year 2000 problem in legacy computer systems.[src] ==Reasoning== For organizations and institutions with data that is only decades old, a "date windowing" solution was considered easier and more economical than the massive conversions and testing required when converting two-digit years into four-digit years.[src] ==Windowing methods== There are three primary methods used to determine the date window: Fixed pivot year: simplest to code, works for most business dates.[src] Sliding pivot year: determined by subtracting some constant from the current year, typically used for birth dates.[src] Closest date: Three different interpretations (last century, this century, and next century) are compared to the current date, and the closest date is chosen from the three.[src] ===FOCUS=== Information Builders's FOCUS "Century Aware" implementation allowed the user to focus on field-specific and file-specific settings.[src] This flexibility gave the best of all three major mechanisms: A school could have file RecentDonors set a field named BirthDate to use DEFCENT=19 YRTHRESH=31, covering those born 1931-2030.[src] Those born 2031 are not likely to be donating before 2049, by which time those born 1931 would be 118 years old, and unlikely current donors.[src] DEFCENT and YRTHRESH for a file containing present students and recent graduates would use different values.[src] ==Examples== Below is a typical example of COBOL code that establishes a fixed date window, used to figure the century for ordinary business dates.[src] IF RECEIPT-DATE-YEAR >= 60 MOVE 19 TO RECEIPT-DATE-CENTURY ELSE MOVE 20 TO RECEIPT-DATE-CENTURY END-IF.[src] The above code establishes a fixed date window of 1960 through 2059.[src] It assumes that none of the receipt dates are before 1960, and should work until January 1, 2060.[src] Some systems have environment variables that set the fixed pivot year for the system.[src] Any year after the pivot year will belong to this century (the 21st century), and any year before or equal to the pivot year will belong to last century (the 20th century).[src] Some products, such as Microsoft Excel 95 used a window of years 1920–2019 which had the potential to encounter a windowing bug reoccurring only 20 years after the year 2000 problem had been addressed.[src] The IBM i operating system uses a window of 1940-2039 for date formats with a two-digit year.[src] In the 7.5 release of the operating system, an option was added to use a window of 1970-2069 instead.[src] ==See also== Serial number arithmetic, a form of windowing for sequential counters ==References==[src]

24 sentences · 24 cited inline · 0 references stored

References

No reference rows published for this article.

Cite this article

MLA

"Date windowing." encyclopegia.org, 2026, https://encyclopegia.org/wiki/date-windowing. Accessed 25 November 2026.

Chicago

"Date windowing." encyclopegia.org. Accessed November 25, 2026. https://encyclopegia.org/wiki/date-windowing.

APA

encyclopegia.org. (2026). Date windowing. Retrieved November 25, 2026, from https://encyclopegia.org/wiki/date-windowing

Accessed November 25, 2026 · CC BY-SA 4.0 · citation page · JSON

Claims

PredicateValueSource
date of birth1931Wikipedia
date of birth2031Wikipedia

Related articles

Terry Date

stub · references available

Date Yasumune

stub · references available

calendar date

stub · references available

Address Windowing Extensions

stub · references available

Fighting Pose wa Date ja Nai!

stub · references available

Date My Mom

stub · references available

Date clan

stub · references available

Date Sōdō

stub · references available
CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1336071907 · 0.5 · snapshot enwiki-001336071907

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.