Loading

BUCKETSPAN


bucketize gts
Since v1.0.0
Available on all platforms
See also

The function BUCKETSPAN consumes a GTS off the stack and pushes its bucketspan onto the stack.

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

Signature

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 [ SWAP bucketizer.max 0 3600000000 0 ] BUCKETIZE // bucketize it with a bucket span of 1 hour 0 GET // extract a GTS from the list BUCKETSPAN