How to store time data type in neo4j? -


i created user nodes value-time:

create (u1:user {name:'user 1', pickuptime:'10:10', dropofftime:'10:35'}) 

i wonder way (format) store time, because when kind of queries

match (u:user) return u.name name, u.pickuptime picktime order picktime desc 

i got result

name    picktime user 3  9:30 user 2  10:20 user 1  10:10 

and need ordered result:

 name   picktime  user 3  9:30  user 1 10:10  user 2 10:20 

any suggestions? in advance

two notes:

  1. you should use format hh:mm means need specify 9:30 09:30.

  2. also in previous case need specify "order picktime asc" , not desc if obtain order desire


Comments

Popular posts from this blog

javascript - Slick Slider width recalculation -

jsf - PrimeFaces Datatable - What is f:facet actually doing? -

angular2 services - Angular 2 RC 4 Http post not firing -