IMetabaseObjectDescriptor.Timestamp

Syntax

Timestamp: DateTime;

Description

The Timestamp property returns date and time of the last saving of the repository object.

Example

Executing the example requires that the repository contains an object with the FOLDER2 identifier.

Add a link to the Metabase system assembly.

Sub UserProc;
Var
    MB: IMetabase;
    Desc: IMetabaseObjectDescriptor;
    Date: Datetime;
Begin
    MB := MetabaseClass.Active;
    Desc := Mb.ItemById("FOLDER2");
    Date := Desc.Timestamp;
End Sub UserProc;

After executing the example the Date variable contains date and time of the last saving of the object of the metadata base.

See also:

IMetabaseObjectDescriptor