From RAD Studio API Documentation
Jump to: navigation, search


function VarSQLTimeStamp: TVarType;


extern DELPHI_PACKAGE System::Word __fastcall VarSQLTimeStamp(void);


Type Visibility Source Unit Parent
function public
Data.SqlTimSt Data.SqlTimSt


Returns the TVarType constant that identifies the internal type of a Variant as a TSQLTimeStamp value.

VarSQLTimeStamp returns the TVarType constant that identifies a TSQLTimeStamp-valued Variant. This is the value that the VarType function returns when the Variant stores its value as a TSQLTimeStamp value.

The Variant type codes for custom Variants are dynamically allocated when the application loads the unit that implements them. VarSQLTimeStamp allows the application to identify the Variant type code that is currently used for custom Variants that represent an SQL time stamp. This value, however, may not match the type code used by another application that uses a different set of custom Variant types.

See Also