apoc.temporal.toZonedTemporal
Syntax |
|
||
Description |
Parses the given date |
||
Arguments |
Name |
Type |
Description |
|
|
The date string to be parsed. |
|
|
|
The format of the given date string. The default is: |
|
|
|
The timezone the given string is in. The default is: |
|
Returns |
|
Usage Examples
RETURN apoc.temporal.toZonedTemporal('2012-12-23 23:59:59',"yyyy-MM-dd HH:mm:ss") AS output;
output |
---|
2012-12-23T23:59:59Z[UTC] |
RETURN apoc.temporal.toZonedTemporal('2012-12-23 23:59:59',"yyyy-MM-dd HH:mm:ss", "+04:30") AS output;
output |
---|
2012-12-24T04:29:59+04:30 |
RETURN apoc.temporal.toZonedTemporal('2012-12-23 23:59:59',"yyyy-MM-dd HH:mm:ss", "Pacific/Auckland") AS output;
output |
---|
2012-12-23T23:59:59+13:00[Pacific/Auckland] |