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: Building Scene Layer (BuildingSceneLayer), Catalog Layer (CatalogLayer), CSV Layer (CSV), Dimension Layer, Feature Layer (ArcGISFeatureLayer), GeoJSON Layer (GeoJSON), Group Layer, Image Service Layer (ArcGISImageServiceLayer), initialState, Integrated Mesh 3D Tiles Layer, Integrated Mesh Layer (IntegratedMeshLayer), LineOfSight Layer, Map Service Layer (ArcGISMapServiceLayer), Media Layer (Media), Object 3D Tiles Layer, OGC Feature Layer, OpenStreetMap Layer (OpenStreetMap), PointCloud Layer, Scene Layer (ArcGISSceneServiceLayer), slide, Tiled Elevation Layer, Tiled Image Service Layer (ArcGISTiledImageServiceLayer), Tiled Map Service Layer (ArcGISTiledMapServiceLayer), TimeSlider properties, Vector Tile Layer (VectorTileLayer), Viewshed Layer, Voxel Layer, 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