GetDateCodeValue
function GetDateCodeValue (const Key : TKey; const Code : TCode) : TDateTime;

TurboPack OnGuard FMX

GetDateCodeValue

function GetDateCodeValue (const Key : TKey; const Code : TCode) : TDateTime;

Navigation:  »No topics above this level«

GetDateCodeValue

function GetDateCodeValue (const Key : TKey; const Code : TCode) : TDateTime;

Return to chapter overview

_bm1 GetDateCodeValue returns the expiration date stored in the Code.

Key must be the same key that was used to create the code or the code is considered invalid. If the code is invalid, 1 January 9999 is returned.

This routine is defined in the OnGuard unit. (as of 1.15 this routine has been moved to the OgUtil unit)