cancel
Showing results for 
Search instead for 
Did you mean: 

Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.

date("04-26-2022") <- This should work

tard_gabriel
Ninja
Ninja

Bad news for data scientist, date functions still sucks!

It cannot convert a simple string like this one "04-26-2022" from the USA to a date.
I lost again an hour trying to figure out a way to convert it reading about apoc stuff.

Why does it have to be this huge thing:

date(apoc.date.convertFormat("04-26-2022", "MM-dd-yyyy", "yyyy-MM-dd"))
Instead of:
date("04-26-2022")

Can we overwrite or contribute to this data function?

 

0 REPLIES 0