search

goog.date.UtcDateTime

Provided By
Extends

Class representing a date/time in GMT+0 time zone, without daylight saving. Defaults to current date and time if none is specified. The get... and the getUTC... methods are equivalent.

new UtcDateTime( opt_year, opt_month, opt_date, opt_hours, opt_minutes, opt_seconds, opt_milliseconds )

Parameters
opt_year(number|Date|goog.date.Date|null)=

Four digit UTC year or a date-like object. If not set, the created object will contain the date determined by goog.now().

opt_monthnumber=

UTC month, 0 = Jan, 11 = Dec.

opt_datenumber=

UTC date of month, 1 - 31.

opt_hoursnumber=

UTC hours, 0 - 23.

opt_minutesnumber=

UTC minutes, 0 - 59.

opt_secondsnumber=

UTC seconds, 0 - 59.

opt_millisecondsnumber=

UTC milliseconds, 0 - 999.

Instance Methods

Instance Properties

Static Functions