plugin_register functions/time [[0,0.0,0.0],true] table_create Timestamps TABLE_PAT_KEY Time [[0,0.0,0.0],true] load --table Timestamps [ {"_key": 0}, {"_key": "2015-12-31 23:59:59.999999"}, {"_key": "2016-01-01 00:00:00.000000"}, {"_key": "2016-01-01 00:00:00.000001"}, {"_key": "2016-12-31 23:59:59.999999"}, {"_key": "2017-01-01 00:00:00.000000"}, {"_key": "2017-01-01 00:00:00.000001"} ] [[0,0.0,0.0],7] select Timestamps --sortby _id --limit -1 --output_columns '_key, time_classify_year(_key)' [ [ 0, 0.0, 0.0 ], [ [ [ 7 ], [ [ "_key", "Time" ], [ "time_classify_year", null ] ], [ 0.0, -32400.0 ], [ 1451573999.999999, 1420038000.0 ], [ 1451574000.0, 1451574000.0 ], [ 1451574000.000001, 1451574000.0 ], [ 1483196399.999999, 1451574000.0 ], [ 1483196400.0, 1483196400.0 ], [ 1483196400.000001, 1483196400.0 ] ] ] ]