apoc.date.fromISO8601
Function
apoc.date.fromISO8601(time STRING)
- converts the given date STRING
(ISO8601) to an INTEGER
representing the time value in milliseconds.
Usage Examples
The |
The following converts a date string in ISO 8601 format to epoch millis:
RETURN apoc.date.fromISO8601('2020-11-04T12:21:33.000Z') AS outputInMs;
outputInMs |
---|
1604492493000 |