Return the date stamp of the ROM BIOS.
──────────────────────────────────────────────────────────────────────────────

Syntax

GT_RomDate() --> dRomDate

Arguments:

None

Returns:

Date stamp of the ROM Bios chip.

Description:

GT_RomDate() can be used to retrieve the date stamp of the ROM Bios
chip of a machine. Most IBM compitable machines have the date of the
ROM help at a certain location in memory, if you are running your
application on a non-standard machine the date returned may be empty
or may be incorrect.

GT_RomDate() can be used for debugging or could be used to tie your
application to a certain machine (not forgetting that there can
be more than one machine with the same date!).

Examples:

// Check that the application has not been moved to another
// machine.

if GT_RomDate() == GT_SToD("19880115")
// Allow access to application.
else
? "Error: This appliction has been moved to another machine!"
endif

Source: ROMDATE.C

Author: David Pearson