Created (NotesDatabase - JavaScript)

Read-only. The date/time a database was created.

Defined in

NotesDatabase

Syntax

getCreated() : NotesDateTime

Usage

The database must be open to use this property.

Examples

This computed field displays the number of days since the current database was created.
var t = database.getCreated();
var n = session.createDateTime("Today");
n.setNow();
return "Database created " + (n.timeDifference(t) / 86400).toFixed(0) + " days ago"