Skip to main content
Temporal.Now.plainDateTimeISO - Temporal - Web documentation
property Temporal.Now.plainDateTimeISO

Get the current date and clock time in a specific time zone, using the ISO 8601 calendar.

Note that the Temporal.PlainDateTime type does not persist the time zone, but retaining the time zone is required for most time-zone-related use cases. Therefore, it's usually recommended to use Temporal.Now.zonedDateTimeISO instead of this function.

Type

Back to top