The ts_current_timestamp() function
The ts_current_timestamp() function finds the time stamp that corresponds to the current element retrieved from the scan.
Syntax
mi_datetime *
ts_current_timestamp(ts_tscan *scan)
- scan
- The scan descriptor returned by ts_begin_scan().
Returns
If no elements have been retrieved, the value returned is the time stamp of the first element. This value cannot be freed by the user with mi_free().