themeparks - v7.0.0
Preparing search index...
index
parseApiDateTime
Function parseApiDateTime
parseApiDateTime
(
input
:
string
,
timezone
:
string
)
:
Date
Parse a date/time string from the ThemeParks API into a JS Date.
Accepts:
full ISO with offset (e.g. 2026-04-14T09:00:00-04:00)
ISO with Z
naive ISO (no zone info); interpreted as local time in
timezone
Parameters
input
:
string
timezone
:
string
Returns
Date
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
themeparks - v7.0.0
Loading...
Parse a date/time string from the ThemeParks API into a JS Date.
Accepts:
timezone