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": "2015-12-31 23:59:59.999999"}, {"_key": "2016-01-01 00:00:00.000000"}, {"_key": "2016-01-01 00:00:00.000001"}, {"_key": "2017-12-31 23:59:59.999999"}, {"_key": "2018-01-01 00:00:00.000000"}, {"_key": "2018-01-01 00:00:00.000001"} ] [[0,0.0,0.0],6] select Timestamps --sortby _id --limit -1 --output_columns '_key, time_classify_year(_key, 2)' [ [ 0, 0.0, 0.0 ], [ [ [ 6 ], [ [ "_key", "Time" ], [ "time_classify_year", null ] ], [ 1451573999.999999, 1388502000.0 ], [ 1451574000.0, 1451574000.0 ], [ 1451574000.000001, 1451574000.0 ], [ 1514732399.999999, 1451574000.0 ], [ 1514732400.0, 1514732400.0 ], [ 1514732400.000001, 1514732400.0 ] ] ] ]