Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The GETCURRENTTIMESTAMP
function returns the current timestamp in milliseconds since the Unix epoch.
Syntax
GETCURRENTTIMESTAMP()
Return types
Returns a numeric expression representing the current timestamp in milliseconds.
Examples
This section contains examples of how to use this query language construct.
Get the current timestamp
In this example, the GETCURRENTTIMESTAMP
function is used to return the current timestamp.
SELECT VALUE {
currentTimestamp: GETCURRENTTIMESTAMP()
}
[
{
"currentTimestamp": 1556916469065
}
]