Not sure where Chris got that number. It may be valid for Cisco and some other Firewalls and SAMBA

On my Windows 2000 AD with an account set to never expire that number has no validity.

Chris, you have a link to a MS white paper or KB that shows that?

Overall though the code that Chris supplied will give you what you're looking for.