Head's Up! Site migration is underway. Phase 2: migrate recent content
β01-27-2020 02:14 AM
Hello there,
I am working with Neo4j dates, I want to get previous date from a date for example if "2019-01-01" is current date then i want "2018-12-31" as previous date.
Is there any way to get the previous date of a date in Neo4j using cypher?
Thanks in advance.
β01-27-2020 03:20 AM
RETURN date('2019-01-01')- duration({days: 1}) as previousDate
ββββββββββββββββ
β"previousDate"β
ββββββββββββββββ‘
β"2018-12-31" β
ββββββββββββββββ
β01-27-2020 04:14 AM
Thanks Paul, it worked
All the sessions of the conference are now available online