PointInTime.Default

Syntax:

New PointInTime(<Date>, <Reference>)

Parameters:

<Date> (required)

Type: Date.
Date and time.

<Reference> (optional)

Type: Reference to object of information base.
Reference to any object in the database.

Description:

Creates a point in time by date and reference to the object in the database.
Also can be created using the functional form of the New operator.

Example:

Parameters = New Array(2);
Parameters[0] = '20020703151902';
Parameters[1] = CurDocument;
Moment = New(Type("PointOfTime",Parameters);


    

1C:Enterprise Developer's Community