Search e01
One query across the encyclopedia, books, dictionary, papers, Wikidata and the developer library. Every hit carries its source.
6 results across 6 corpora for Temporal.ZonedDateTime.prototype.monthCode.
Developer library 6
Temporal
th a time zone. `Date` objects provide methods for reading and modifying these components. [Time zones](/docs/Web/JavaScript/Reference/Global_Objects/Temporal/ZonedDateTime#time_zones_and_offsets) underlie a significant number of date-related bugs. When interacting with a `Date` via the "combination of components" model, the time can only be in two time zones: UTC and local (device), and there's no way to specify an
Temporal.PlainDate
poral.PlainDate.prototype.toString() - : Returns a string representing this date in the [RFC 9557 format](#rfc_9557_format). - Temporal.PlainDate.prototype.toZonedDateTime() - : Returns a new Temporal.ZonedDateTime object representing this date, a supplied time, and a supplied time zone, in the same calendar system. - Temporal.PlainDate.prototype.until() - : Returns a new Temporal.Duration object representing t
Temporal.PlainDate.from()
- A Temporal.PlainDateTime instance, which provides the calendar date in the same fashion as Temporal.PlainDateTime.prototype.toPlainDate(). - A Temporal.ZonedDateTime instance, which provides the calendar date in the same fashion as Temporal.ZonedDateTime.prototype.toPlainDate(). - An [RFC 9557](/docs/Web/JavaScript/Reference/Global_Objects/Temporal/PlainDate#rfc_9557_format) string containing a date and o
Temporal.PlainDateTime
cumented in the `PlainTime` object. If the date-time represents a specific instant that should remain invariant across time zones, you should use the Temporal.ZonedDateTime object instead. Use `PlainDateTime` when you need to represent an event happening at a specific wall-clock time that may be a different instant in different time zones. ### RFC 9557 format `PlainDateTime` objects can be serialized and parsed us
Temporal.ZonedDateTime
The **`Temporal.ZonedDateTime`** object represents a date and time with a time zone. It is fundamentally represented as a combination of an [instant](/docs/Web/JavaScript/Reference/Global_Objects/Temporal/Instant), a time zone, and a calendar system. ## Description A `ZonedDateTime` functions as a bridge between an exact time and a wall-clock time: it simultaneously represents an instant in history (like a Temporal
Temporal.ZonedDateTime.prototype.monthsInYear
The **`monthsInYear`** accessor property of Temporal.ZonedDateTime instances returns a positive integer representing the number of months in the year of this date. It is [calendar](/docs/Web/JavaScript/Reference/Global_Objects/Temporal#calendars)-dependent. The set accessor of `monthsInYear` is `undefined`. You cannot change this property directly. For general information and more examples, see Temporal.PlainDate.p