IMetabase.GetCurrentStampMS

Syntax

GetCurrentStampMS: DatetTime;

Description

The GetCurrentStampMS method returns the current date and time of DBMS server, which hosts the repository, up to milliseconds.

Example

To execute the example, add a link to the Metabase system assembly.

Sub UserProc;
Var
    Mb: IMetabase;
    CI: ICultureInfo;
    d: DateTime;
Begin
    Mb := MetabaseClass.Active;
    CI := CultureInfo.Current;
    d := Mb.GetCurrentStampMS;
    Debug.WriteLine(CI.FormatTimeEx(d, 
"H:mm:s.fff"));
End Sub UserProc;

After executing the example, the development environment console displays the current time of DBMS server up to milliseconds.

See also:

IMetabase