Skip to main content

MILLIS_TO_INTERVAL

Deprecated version

This document refers to a deprecated version of the RQL programming language.

Please go here for documentation related to the latest supported version.

Converts a integer number (int, byte, long etc.) to the corresponding interval in milliseconds

Syntax
MILLIS_TO_INTERVAL(<long>)
Example
millis_to_interval(100) // interval "100 millis"