apoc.date.convert

Function

apoc.date.convert(12345, 'ms', 'd') convert a timestamp in one time unit into one of a different time unit

Signature

apoc.date.convert(time :: INTEGER?, unit :: STRING?, toUnit :: STRING?) :: (INTEGER?)

Input parameters

Name Type Default

time

INTEGER?

null

unit

STRING?

null

toUnit

STRING?

null