Skip to main content

INTERVAL_TO_MILLIS

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 interval to the corresponding number of milliseconds

Syntax
INTERVAL_TO_MILLIS(<interval>)
Example
interval_to_millis(interval "1 minute") // 60000
interval_to_millis(interval "1 day") // 86400000 (24*60*60*1000)