You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
neo4j@neo4j> return date("1970-6-8") as d;
+------------+
| d |
+------------+
| 1970-06-08 |
+------------+
1 row available after 27 ms, consumed after another 3 ms
neo4j@neo4j> return date({year: 1816, week: 1}) as d;
+------------+
| d |
+------------+
| 1816-01-01 |
+------------+
1 row available after 2 ms, consumed after another 1 ms
neo4j@neo4j> return date({year: 1984, month: 10, day: 11}) as d;
+------------+
| d |
+------------+
| 1984-10-11 |
+------------+
1 row available after 44 ms, consumed after another 2 ms
neo4j@neo4j> return datetime({year: 1984, month: 10, day: 11}) as d;
+-------------------+
| d |
+-------------------+
| 1984-10-11T00:00Z |
+-------------------+
1 row available after 33 ms, consumed after another 2 ms
neo4j@neo4j> return localdatetime({year: 1984, month: 10, day: 11}) as d;
+------------------+
| d |
+------------------+
| 1984-10-11T00:00 |
+------------------+
neo4j@neo4j> return datetime('2015-07-21T21:40:32.142+02:00[Europe/Stockholm]');
+-------------------------------------------------------------+
| datetime('2015-07-21T21:40:32.142+02:00[Europe/Stockholm]') |
+-------------------------------------------------------------+
| 2015-07-21T21:40:32.142+02:00[Europe/Stockholm] |
+-------------------------------------------------------------+
neo4j@neo4j> return duration('P2.5W');
+-------------------+
| duration('P2.5W') |
+-------------------+
| P17DT12H |
+-------------------+
nebula test:
(czp@nebula) [nba]> yield date({year: 1816, week: 1}) as d
+----------+
| d |
+----------+
| BAD_DATA |
+----------+
Got 1 rows (time spent 23669/32619 us)
Fri, 22 Jan 2021 15:23:18 CST
(czp@nebula) [nba]> yield date("1970-6-8") as d
+----------+
| d |
+----------+
| BAD_DATA |
+----------+
Got 1 rows (time spent 26484/38375 us)
(czp@nebula) [nba]> yield datetime({year: 1816, week: 1}) as d
+----------+
| d |
+----------+
| BAD_DATA |
+----------+
Got 1 rows (time spent 23521/33883 us)
Fri, 22 Jan 2021 15:28:37 CST
(czp@nebula) [nba]> yield localdatetime({year: 1816, week: 1}) as d
[ERROR (-12)]: SemanticError: `localdatetime({year:1816,week:1})' is not a valid expression : Function `localdatetime' not defined
(czp@nebula) [nba]> yield datetime('2015-07-21T21:40:32.142+02:00[Europe/Stockholm]')
+-----------------------------------------------------------+
| datetime(2015-07-21T21:40:32.142+02:00[Europe/Stockholm]) |
+-----------------------------------------------------------+
| 2015-07-21T21:40:32.000 |
+-----------------------------------------------------------+
(czp@nebula) [nba]> yield duration('P2.5W');
[ERROR (-12)]: SemanticError: `duration(P2.5W)' is not a valid expression : Function `duration' not defined
The text was updated successfully, but these errors were encountered:
czpmango
changed the title
[openCypher tck case] data/datatime/localdatatime
[openCypher tck case] data/datatime/localdatatime/duration
Jan 22, 2021
czpmango
changed the title
[openCypher tck case] data/datatime/localdatatime/duration
[openCypher tck case] date/datetime/localdatatime/duration
Jan 28, 2021
czpmango
changed the title
[openCypher tck case] date/datetime/localdatatime/duration
[openCypher tck case] date/datetime/localdatetime/duration
Jan 28, 2021
neo4j test:
nebula test:
The text was updated successfully, but these errors were encountered: