Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
08-30-2018 08:17 PM
I want to show to user the post going to expiry with in 23:05:10 (hh:mm:ss) but the below query working opposite (01:55:50) if the expiry time is not belongs to today. If expiry time in same date yes it working properly, can anyone tell me how to fix it
with duration.between(post.expiry,datetime()) as expiry return apoc.text.format('%02d:%02d:%02d', [expiry.hours, expiry.minutesOfHour, expiry.secondsOfMinute])
Thanks
Gowri
Solved! Go to Solution.
08-30-2018 08:42 PM
Try using duration.inSeconds()
instead of duration.between()
for this.
08-30-2018 08:42 PM
Try using duration.inSeconds()
instead of duration.between()
for this.
08-30-2018 09:34 PM
Thank you so much andrew, that fixed the issue
All the sessions of the conference are now available online