IMetabase.GetCurrentStamp

Syntax

GetCurrentStamp: DateTime;

GetCurrentStamp(): System.DateTime;

Description

The GetCurrentStamp method returns the current date and time.

Example

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

Sub UserProc;
Var
    MB: IMetabase;
    s: DateTime;
Begin
    Mb := MetabaseClass.Active;
    s := Mb.GetCurrentStamp;
End Sub UserProc;
Public Shared Sub Main(Params: StartParams);
Var
    MB: IMetabase;
    s: DateTime;
Begin
    Mb := Params.Metabase;
    s := Mb.GetCurrentStamp();
End Sub;

After executing the example the "s" variable stores the current date and time.

See also:

IMetabase