TimeOnly (NotesDateTime - JavaScript)

Read-only. A string representation of the time part of a date-time value.

Defined in

NotesDateTime

Syntax

getTimeOnly() : string

Examples

This computed field displays the creation date and time for the current database.
var dt:NotesDateTime = database.getCreated();
return "This database was created on " + dt.getDateOnly() + " at " + dt.getTimeOnly();