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.

devx-admin

Share the Post: