in reply to How old is my computer?

I'm not sure about doing so programmatically that's portable among operating systems, but the boot information presented by most motherboards includes the copyright notice for the BIOS. You might need to disable the branded splash screen some mass-market pre-assembled PCs use to see it.

If you need to know how to do so from code, you might need to find the call for your OS. Under Windows you can check the registry at HKEY_LOCAL_MACHINE\HARDWARE\DESCRIPTION\System or the WMI class Win32_BIOS. For Linux I'm sure it's not too difficult, but I couldn't tell you without searching for it.

Update: fixed a typo: s/Systemor/System or/

Replies are listed 'Best First'.
Re^2: How old is my computer?
by wazoox (Prior) on Sep 03, 2008 at 10:35 UTC
    Under GNU/Linux and FreeBSD you can use the "dmidecode" command, for example :
    ~ # dmidecode -s bios-release-date 02/09/2006
Re^2: How old is my computer?
by slloyd (Hermit) on Sep 03, 2008 at 04:40 UTC
    Thanks a lot. Just what I needed!

    -------------------------------
    Sign up now for a free monthly newsletter service!
    http://www.bestgazette.com