Loading

LASTBUCKET

bucketize gts

The function LASTBUCKET consumes a GTS off the stack and pushes its lastbucket onto the stack.

Note: when called on a non bucketized GTS instance, it returns 0.

LASTBUCKET is available since version 1.0.0.

See also

Signatures

Examples

[ '60VgNqxhAaCdS6_uOLtZNMGWAbGpS5xmPL4gAbC_QbCjRbBiS5KhR5KmNMGpRaJQ.cV3Aa4kR.WZQqBiO54oNFWnOLtnQr88O.7kBGQisxjnVyLaxkgLbUEd_RTgYDIS.Gg..4N.5A.06sg7.........1hWN6aUdSEjkD0Vqg...XAzOwylS22pDFB3Ou3RAhi1lSTt70mIuq.T_8BbJjMFUGqJ7zXuKLt637GYU6kSJBc2mZ4LOVlaKZBtPL1.ILO67BVs95RMgVmmoHOLD5KB2zM6P6m2RfmFjQ.PP62V5mYbYgOMc37ctkfN1K2DFbTFRK1D.pAca4VViRo3qSLcdWp.pcBXVyktZsbVR.B.PIcrpcc0...L_.NG..' ] UNWRAP // And bucketize it with a bucket span of 1 hour [ SWAP bucketizer.max 0 3600000000 0 ] BUCKETIZE 0 GET LASTBUCKET