The security operations center (SOC) wishes to query Tetration for flows between two points in time spanning several months. Tetration only allows querying maximum time range of 1 day per request. If a user wants to query a longer time range, they need to split that time range into 1 day time periods and query separately for each period. This talk describes an algorithm to solve this problem and shows several solutions in multiple programming languages.