v.25.8New Feature
Add a new
Added a new functionnowInBlock64. Example usage:SELECT nowInBlock64(6)returns2025-07-29 17:09:37.775725. #84178 (Halersson Paris).
Why it matters
The function provides a high-precision, compact representation of the current time within a block. This is useful for scenarios requiring precise time measurement or storage efficiency compared to datetime types.How to use it
Use the function in a query by calling<code>SELECT nowInBlock64(precision)</code>, where precision specifies the decimal places for fractional seconds (e.g., 6 for microseconds). For example:SELECT nowInBlock64(6)