tointervalds() Function
This function may not be compatible with all features of Appian. For details, see the Feature Compatibility section below.


tointervalds( value )

Converts a value to Interval (Day to Second).


Keyword Type Description


Any Type

Value to convert.


Interval (Day to Second)

Usage considerations


The duration data type is not available for storing activity classes or process variables, but it is useful for reporting process and task metrics.

Using the value parameter

The value parameter accepts Integer, Decimal, Text, fixed, Boolean, Time, Date, Datetime, timestamp, complex, fraction, and Array data types.

Understanding results

Multiple parameters return an Interval (Day to second) Array.


tointervalds("11h 10m 30s") returns 111030::00:00:00.000

Feature compatibility

The table below lists this function's compatibility with various features in Appian.
Feature Compatibility Note
Portals Compatible
Offline Mobile Compatible
Custom Record Field Expressions Compatible
Open in Github Built: Fri, Aug 12, 2022 (10:01:45 AM)

On This Page