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": "2016-05-05 22:29:59.999999"}, {"_key": "2016-05-05 22:30:00.000000"}, {"_key": "2016-05-05 22:30:00.000001"}, {"_key": "2016-05-05 22:39:59.999999"}, {"_key": "2016-05-05 22:40:00.000000"}, {"_key": "2016-05-05 22:40:00.000001"} ] [[0,0.0,0.0],6] select Timestamps --sortby _id --limit -1 --output_columns '_key, time_classify_minute(_key, 10)' [ [ 0, 0.0, 0.0 ], [ [ [ 6 ], [ [ "_key", "Time" ], [ "time_classify_minute", null ] ], [ 1462454999.999999, 1462454400.0 ], [ 1462455000.0, 1462455000.0 ], [ 1462455000.000001, 1462455000.0 ], [ 1462455599.999999, 1462455000.0 ], [ 1462455600.0, 1462455600.0 ], [ 1462455600.000001, 1462455600.0 ] ] ] ]