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

Function

milli( time )

This function returns the millisecond portion of a timestamp or the decimal number that represents 1 millisecond in days.

Parameters

Keyword Type Description

time

Time

Time or Datetime timestamp from which to extract the milliseconds.

Returns

Integer

Usage considerations

When no parameter is passed, the function returns the Interval (Day to Second) value of 1 millisecond in days (0::00:00:00.001).

When the optional time parameter is passed, it returns the millisecond portion of the given Datetime value.

If the now() function is passed as the parameter, the millisecond portion of the current timestamp is returned.

Examples

milli() returns 0::00:00:00.001

milli(now()) returns 123

See Also

now(): Use this function to use the current timestamp as the time value.

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

FEEDBACK