ST_duration
Updated at:
Copy as MD
Obtains the duration of the track.
Syntax
interval ST_duration(trajectory traj);Parameters
Parameter Name | Description |
traj | The trajectory data. |
Examples
select st_duration(traj) from traj where id = 2;
st_duration
-------------
00:42:10
(1 row)Is this page helpful?