GetStamp 函数返回与时间系列中所提供偏移量关联的时间戳记。偏移量可以是正整数或负整数。
GetStamp(ts TimeSeries, offset integer) returns datetime year to fraction(5);
等效的 API 函数为 ts_time()。
在指定偏移量开始时间间隔的时间戳记。
select GetStamp(stock_data,0) from daily_stocks where stock_name = 'GBase';