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-04-30 23:59:59.999999"}, {"_key": "2016-05-01 00:00:00.000000"}, {"_key": "2016-05-01 00:00:00.000001"}, {"_key": "2016-06-30 23:59:59.999999"}, {"_key": "2016-07-01 00:00:00.000000"}, {"_key": "2016-07-01 00:00:00.000001"} ] [[0,0.0,0.0],6] select Timestamps --sortby _id --limit -1 --output_columns '_key, time_classify_month(_key, 2)' [ [ 0, 0.0, 0.0 ], [ [ [ 6 ], [ [ "_key", "Time" ], [ "time_classify_month", null ] ], [ 1462028399.999999, 1456758000.0 ], [ 1462028400.0, 1462028400.0 ], [ 1462028400.000001, 1462028400.0 ], [ 1467298799.999999, 1462028400.0 ], [ 1467298800.0, 1467298800.0 ], [ 1467298800.000001, 1467298800.0 ] ] ] ]