apoc.date.format
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)
Signature
apoc.date.format(time :: INTEGER?, unit = ms :: STRING?, format = yyyy-MM-dd HH:mm:ss :: STRING?, timezone = :: STRING?) :: (STRING?)
Input parameters
Name | Type | Default |
---|---|---|
time |
INTEGER? |
null |
unit |
STRING? |
ms |
format |
STRING? |
yyyy-MM-dd HH:mm:ss |
timezone |
STRING? |
Was this page helpful?