Module
JS.Temporal.Now
- Package
- purescript-js-temporal
- Repository
- pete-murphy/purescript-js-temporal
Methods to obtain the current time in various formats. Corresponds to
the Temporal.Now namespace. All functions run in Effect and use the
system's current time.
See https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Temporal/Now
#zonedDateTimeISO Source
zonedDateTimeISO :: Effect ZonedDateTimeCurrent date and time in the system's local time zone.
#zonedDateTimeISOIn Source
zonedDateTimeISOIn :: String -> Effect ZonedDateTimeCurrent date and time in the given time zone.
#plainDateISO Source
plainDateISO :: Effect PlainDateCurrent date in the system's local time zone.
#plainDateISOIn Source
plainDateISOIn :: String -> Effect PlainDateCurrent date in the given time zone.
#plainDateTimeISO Source
plainDateTimeISO :: Effect PlainDateTimeCurrent date and time in the system's local time zone (plain, no zone).
#plainDateTimeISOIn Source
plainDateTimeISOIn :: String -> Effect PlainDateTimeCurrent date and time in the given time zone (plain, no zone).
#plainTimeISO Source
plainTimeISO :: Effect PlainTimeCurrent time in the system's local time zone.
#plainTimeISOIn Source
plainTimeISOIn :: String -> Effect PlainTimeCurrent time in the given time zone.
#timeZoneId Source
timeZoneId :: Effect StringThe system's current time zone identifier (e.g. "America/New_York").
- Modules
- JS.
Temporal. CalendarName - JS.
Temporal. Disambiguation - JS.
Temporal. Duration - JS.
Temporal. Duration. Internal - JS.
Temporal. Instant - JS.
Temporal. Instant. Internal - JS.
Temporal. Internal - JS.
Temporal. Now - JS.
Temporal. OffsetDisambiguation - JS.
Temporal. Overflow - JS.
Temporal. PlainDate - JS.
Temporal. PlainDate. Internal - JS.
Temporal. PlainDateTime - JS.
Temporal. PlainDateTime. Internal - JS.
Temporal. PlainMonthDay - JS.
Temporal. PlainMonthDay. Internal - JS.
Temporal. PlainTime - JS.
Temporal. PlainTime. Internal - JS.
Temporal. PlainYearMonth - JS.
Temporal. PlainYearMonth. Internal - JS.
Temporal. RoundingMode - JS.
Temporal. TemporalUnit - JS.
Temporal. ZonedDateTime - JS.
Temporal. ZonedDateTime. Internal