apoc.date
Qualified Name | Type |
---|---|
CALL apoc.date.expire(node,time,'time-unit') - expire node at specified time by setting :TTL label and |
Procedure |
CALL apoc.date.expire.in(node,time,'time-unit') - expire node after specified length of time time by setting :TTL label and |
Procedure |
apoc.date.add(12345, 'ms', -365, 'd') given a timestamp in one time unit, adds a value of the specified time unit |
Function |
apoc.date.convert(12345, 'ms', 'd') convert a timestamp in one time unit into one of a different time unit |
Function |
apoc.date.convertFormat('Tue, 14 May 2019 14:52:06 -0400', 'rfc_1123_date_time', 'iso_date_time') convert a String of one date format into a String of another date format. |
Function |
apoc.date.currentTimestamp() - returns System.currentTimeMillis() |
Function |
apoc.date.field(12345,('ms|s|m|h|d|month|year'),('TZ') |
Function |
apoc.date.fields('2012-12-23',('yyyy-MM-dd')) - return columns and a map representation of date parsed with the given format with entries for years,months,weekdays,days,hours,minutes,seconds,zoneid |
Function |
apoc.date.format(12345,('ms|s|m|h|d'),('yyyy-MM-dd HH:mm:ss zzz'),('TZ')) get string representation of time value optionally using the specified unit (default ms) using specified format (default ISO) and specified time zone (default current TZ) |
Function |
apoc.date.fromISO8601('yyyy-MM-ddTHH:mm:ss.SSSZ') return number representation of time in EPOCH format |
Function |
apoc.date.parse('2012-12-23','ms|s|m|h|d','yyyy-MM-dd') parse date string using the specified format into the specified time unit |
Function |
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 |
Function |
apoc.date.systemTimezone() returns the system timezone display name |
Function |
apoc.date.toISO8601(12345,('ms|s|m|h|d') return string representation of time in ISO8601 format |
Function |
toYears(timestamp) or toYears(date[,format]) converts timestamp into floating point years |
Function |