Parent (NotesDateTime - JavaScript)

Read-only. The Notes® session that contains a NotesDateTime object.

Defined in

NotesDateTime

Syntax

getParent() : NotesSession

Examples

This computed field displays the creation date for the current database and the user name for the parent session.
var dt:NotesDateTime = database.getCreated();
return "This database was created on " + dt.getLocalTime() +
	" (current user is " + dt.getParent().getUserName() + ")"