Skip to main content

plain_time_iso_with_time_zone

Function plain_time_iso_with_time_zone 

Source
pub fn plain_time_iso_with_time_zone(
    time_zone: &str,
) -> Result<PlainTime, RangeError>
Expand description

The Temporal.Now.plainTimeISO() static method returns the current wall-clock time as a Temporal.PlainTime in the given time zone.

ยงErrors

Throws a RangeError if time_zone is not a valid time zone identifier.

MDN Documentation