GMTTime (NotesDateTime - JavaScript)

Read-only. A string representing a date-time, converted to Greenwich Mean Time (timezone 0).

Defined in

NotesDateTime

Syntax

getGMTTime() : string

Usage

The GMT time for a date created from a string is determined using the operating system time zone setting, unless the date string specifies a time zone.

Examples

This computed field displays the creation date for the current database in GMT as well as local time.
var dt:NotesDateTime = database.getCreated();
return "This database was created on " + dt.getLocalTime() +
	" (" + dt.getGMTTime() + ")"