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
| Parameter | Description |
|---|---|
raster_obj | The 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