ST_EndDateTime

更新时间: 2026-08-31 11:47:19

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
上一篇: ST_BeginDateTime 下一篇: ST_SetBeginDateTime