$buildDateTime
$buildDateTime
operator helps you in building timestamp (Datetime, Epoch second, Epoch millisecond). You can use this in any Expression Object
Syntax
Properties
Field | Description | Required |
---|---|---|
type | The
It can also be a Magical Autocomplete. | true |
args | args should be an array of exactly six values of
| true |
Returns
datetime or integer
- The result of $buildDateTime operation
Examples
Basic example
The above expression returns timestamp of 1713744000
With Nested Expressions
The above expression calculates the nested expressions, returns 4 and 22 respectively in its place and then the outer $buildDateTime
expression returns 1713744000 overall.
With Magical Autocomplete
Let's say we have declared a variable temp
of type array in our API flow, which has a value of
[2024,04,22,0,0,0]
currently.
The above expression would resolve to a result of 1713744000
Last updated