Login | Register   
LinkedIn
Google+
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Language: Visual Basic
Expertise: Beginner
Dec 3, 1997

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 Pro
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap
Thanks for your registration, follow us on our social networks to keep up-to-date