All Products
Search
Document Center

ApsaraDB RDS:ST_EndDateTime

Last Updated:Mar 28, 2026

Returns the end timestamp of a raster object's time dimension, representing the upper boundary of the raster's temporal coverage.

Syntax

timestamp ST_EndDateTime(raster raster_obj)

Parameters

ParameterDescription
raster_objThe raster whose end time you want to obtain.

Examples

The following example retrieves the end timestamp for each raster in a table:

SELECT ST_endDateTime(raster_obj)
FROM raster_table;

Output:

     st_enddatetime
-------------------------
Thu Jan 02 00:00:00 2020