apoc.date.convertFormat
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.
Signature
apoc.date.convertFormat(temporal :: STRING?, currentFormat :: STRING?, convertTo = yyyy-MM-dd :: STRING?) :: (STRING?)
Input parameters
Name | Type | Default |
---|---|---|
temporal |
STRING? |
null |
currentFormat |
STRING? |
null |
convertTo |
STRING? |
yyyy-MM-dd |
Was this page helpful?