DS Server

Javascript: CommentedTextInfo.creationTime Property

Property|Introduced in 30.0

Description

Creation time as a Unix time stamp in milliseconds.

Syntax

<Number> CommentedTextInfo.creationTime

Examples

The following example demonstrates CommentedTextInfo.creationTime in a practical document-editing workflow. Creation time as a Unix time stamp in milliseconds.

function inspectCreationTime(commentedTextInfo) {
    const creationTime = commentedTextInfo.creationTime;
    console.log("creation time:", creationTime);
}