FunctionCopy link to clipboard
milli( time )
This function returns the millisecond portion of a timestamp or the decimal number that represents 1 millisecond in days.
ParametersCopy link to clipboard
Keyword | Type | Description |
---|---|---|
|
Time |
Time or Datetime timestamp from which to extract the milliseconds. |
ReturnsCopy link to clipboard
Integer
Usage considerationsCopy link to clipboard
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.
ExamplesCopy link to clipboard
milli()
returns 0::00:00:00.001
milli(now())
returns 123
See AlsoCopy link to clipboard
now(): Use this function to use the current timestamp as the time value.
Feature compatibilityCopy link to clipboard
The table below lists this function's compatibility with various features in Appian.
Feature | Compatibility | Note |
---|---|---|
Portals | Compatible | |
Offline Mobile | Compatible | |
Sync-Time Custom Record Fields | Compatible | Can be used to create a custom record field that only evaluates at sync time. |
Real-Time Custom Record Fields | Incompatible | Custom record fields that evaluate in real time must be configured using one or more Custom Field functions. |
Process Reports | Compatible | |
Process Events | Compatible |