Returns the number of seconds or milliseconds elapsed since midnight (00:00:00), January 1, 1970 likewise as GMT or local time.
Kernel.bdh
GetTimeStamp( in nFlags : number ): string;
String representation of the number of seconds or milliseconds.
| Parameter | Description | 
|---|---|
| nFlags | Several combination of the following options are possible. 
 | 
dcltrans
  transaction TRaiseError
  begin
    write(GetTimeStamp(TIMESTAMP_GMT | TIMESTAMP_IN_MS));
  end TRaiseError;