apoc.date.parseAsZonedDateTime

Function APOC Core

apoc.date.parseAsZonedDateTime('2012-12-23 23:59:59','yyyy-MM-dd HH:mm:ss', 'UTC-hour-offset') parse date string using the specified format to specified timezone

Signature

apoc.date.parseAsZonedDateTime(time :: STRING?, format = yyyy-MM-dd HH:mm:ss :: STRING?, timezone = UTC :: STRING?) :: (DATETIME?)

Input parameters

Name Type Default

time

STRING?

null

format

STRING?

yyyy-MM-dd HH:mm:ss

timezone

STRING?

UTC