Skip to content

Latest commit

 

History

History
41 lines (23 loc) · 1.24 KB

TPJBiosInfo-BiosReleaseDateInvariant.md

File metadata and controls

41 lines (23 loc) · 1.24 KB

BiosReleaseDateInvariant method

Project: System Information Unit.

Unit: PJSysInfo.

Class: TPJBiosInfo

Applies to: ~>5.32

function BiosReleaseDateInvariant: string;

Description

Returns a string representation of the BIOS' release date in the format that it is stored in the BIOS, regardless of locale.

According to the SMBIOS reference specification the data string must be in either mm/dd/yyyy or mm/dd/yy format. However, this is not checked.

Returns:

  • A string containing the release date.

    Special return value:

    • An empty string is returned if either of the following conditions apply:
      • the BIOS is not supported;
      • the BIOS does not provide the required information.

Notes

  1. If the returned date is in mm/dd/yy format then the year is assumed to be 19yy.

  2. If the BIOS supports the SMBIOS reference specification v2.3 or later then the returned date is required to be in mm/dd/yyyy format.

  3. To get the date in a binary format suitable for formatting correctly for any locale, use the BiosReleaseDate method instead.

See also