GregorianDate - Cesium Documentation

# GregorianDate

#### new GregorianDate()

  Represents a Gregorian date in a more precise format than the JavaScript Date object. In addition to submillisecond precision, this object can also represent leap seconds.

  ##### See:

  - JulianDate#toGregorianDate
  Source: Core/GregorianDate.js, line 13

### Members

#### day :Number

  Gets or sets the day of the month as a whole number starting at 1.
  Source: Core/GregorianDate.js, line 28

#### hour :Number

  Gets or sets the hour as a whole number with range [0, 23].
  Source: Core/GregorianDate.js, line 33

#### isLeapSecond :Boolean

  Gets or sets whether this time is during a leap second.
  Source: Core/GregorianDate.js, line 53

#### millisecond :Number

  Gets or sets the millisecond of the second as a floating point number with range [0.0, 1000.0).
  Source: Core/GregorianDate.js, line 48

#### minute :Number

  Gets or sets the minute of the hour as a whole number with range [0, 59].
  Source: Core/GregorianDate.js, line 38

#### month :Number

  Gets or sets the month as a whole number with range [1, 12].
  Source: Core/GregorianDate.js, line 23

#### second :Number

  Gets or sets the second of the minute as a whole number with range [0, 60], with 60 representing a leap second.
  Source: Core/GregorianDate.js, line 43

#### year :Number

  Gets or sets the year as a whole number.
  Source: Core/GregorianDate.js, line 18