devxlogo

Year 2000 Compliance

Year 2000 Compliance

Question:
Is Visual Basic Year 2000 compliant?

Answer:
All versions of Visual Basic support four digit dates. However, it is up to the programmer to support four digit dates. This means that whenever you build forms to accept dates, make sure you allow the user to enter four digits. This will keep your program humming along until the year 9999, which is the upper year limit for the internal Date format.

In case you are wondering, any two digit years from 00-29 are assumed to begin with 20, and all two digit years from 30-99 are assumed to begin with 19.

devxblackblue

About Our Editorial Process

At DevX, we’re dedicated to tech entrepreneurship. Our team closely follows industry shifts, new products, AI breakthroughs, technology trends, and funding announcements. Articles undergo thorough editing to ensure accuracy and clarity, reflecting DevX’s style and supporting entrepreneurs in the tech sphere.

See our full editorial policy.

About Our Journalist