@AddedToThisFile (Formula Language)

Returns a time-date value indicating when the document was created in the current file

Syntax

@AddedToThisFile

Return value

documentCreationTime

Time-date. The date when the current document was created in this file (as opposed to the global created time returned by @Created)

Usage

@AddedToThisFile works correctly only in column formulas.

@AddedToThisFile is similar to @Created, which indicates the global created time of a document.

Refer to the topic on @Created for more information.

Examples

The following example returns true if the document was added to this file more than 7 days ago:

@Date(@Now) > @Date(@Adjust(@AddedToThisFile, null, null, 7, null, null, null))