timeExtent

Time extent is a two element array that can represent time extent or time instant. The two elements represent values for start and end time. The number represents the number of milliseconds since epoch (January 1, 1970) in UTC. A null as start indicates all inclusive since the beginning of time and a null as end value indicates indefinite time with no end. Time instant can be represented by setting same value for both start and end.

Referenced by: Bing layer (bingLayer), bookmark, Catalog Layer (CatalogLayer), CSV Layer (CSV), Dimension Layer (ArcGISDimensionLayer), Feature Layer (ArcGISFeatureLayer), GeoJSON Layer (GeoJSON), GeoRSS Layer (GeoRSS), Group Layer (GroupLayer), Image Service Layer (ArcGISImageServiceLayer), Image Service Vector Layer (ArcGISImageServiceVectorLayer), initialState, KML Layer (KML), Knowledge Graph Layer (KnowledgeGraphLayer), Map Service Layer (ArcGISMapServiceLayer), Media Layer (Media), OGC Feature Layer, OpenStreetMap Layer (OpenStreetMap), Oriented Imagery Layer (OrientedImageryLayer), Stream Layer (ArcGISStreamLayer), Subtype Group Layer (SubtypeGroupLayer), Tiled Image Service Layer (ArcGISTiledImageServiceLayer), Tiled Map Service Layer (ArcGISTiledMapServiceLayer), Vector Tile Layer (VectorTileLayer), Web Coverage Service Layer (WCS), Web Feature Service Layer (WFS), Web Tiled Layer (WebTiledLayer), WMS Layer (WMS)

Time instant with same values for both start and end. Example

[
  971683552964,
  971683552964
]

Time extent with finite start and end. Example

[
  965698219737,
  971683552964
]

Time extent with infinite time on both ends(no beginning and no end). Example

[
  null,
  null
]

Time extent with infinite start(no beginning) but a finite end(has an end). Example

[
  null,
  971683552964
]

Time extent with finite start(has an end) but a infinite end(no beginning). Example

[
  971683552964,
  null
]

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.

You can no longer sign into this site. Go to your ArcGIS portal or the ArcGIS Location Platform dashboard to perform management tasks.

Your ArcGIS portal

Create, manage, and access API keys and OAuth 2.0 developer credentials, hosted layers, and data services.

Your ArcGIS Location Platform dashboard

Manage billing, monitor service usage, and access additional resources.

Learn more about these changes in the What's new in Esri Developers June 2024 blog post.

Close