ADO Database Delphi

Title: How to use a timestamp as key for your table
Question: A different way than to use or program a autoinc field.
Answer:
Sometimes autoinc fields are not convenient. A timestamp for a
database key is a different solution. Here is a function that
converts a string-timestamp into a longint - therefore it's
ideal for the database-system:
function DateTimeToLongInt: longint;
begin
Result := DateTimeToFileDate(Now);
end;