Am facing an issue to parse a String to Date, String is "2021-03-12T09:14:38.353+00:00"
,
I need to fetch data between some dates, for that, I need to parse this string to Date. Any help will be appreciated.
Try this:
RETURN apoc.date.format(apoc.date.parse("2021-03-12T09:14:38.353+00:00", 'ms', 'yyyy-MM-dd'), 'ms', 'yyyy-MM-dd')
Result: "2021-03-12"