# Date format in csv can not be recognize

**URL:** <https://forum.knime.com/t/date-format-in-csv-can-not-be-recognize/41590>\
**Category:** KNIME Analytics Platform\
**Created:** [April 11, 2022, 2:52pm UTC](https://forum.knime.com/t/date-format-in-csv-can-not-be-recognize/41590 "2022-04-11T14:52:03Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![Thyme](https://forum-cdn.knime.com/user_avatar/forum.knime.com/thyme/32/34550_2.png) [@Thyme](https://forum.knime.com/u/Thyme)\
**Post date:** [April 12, 2022, 11:02am UTC](https://forum.knime.com/t/date-format-in-csv-can-not-be-recognize/41590/5 "2022-04-12T11:02:58Z")

</div>

The root cause for that confusion is how Java parses the strings, it’s not a KNIME issue. KNIME AP version 4.4 onwards uses a different Java version. Maybe you can try to use the legacy mode mentioned here:

> [@String to Date&Time worked on previous knime version but having issues with current version (4.4.1)](https://forum.knime.com/t/string-to-date-time-worked-on-previous-knime-version-but-having-issues-with-current-version-4-4-1/36507/3):
>
> BUT… in spite of my previous reply you are right @Sajith !! I was surprised about the case of the AM/PM, as I thought it should be upper case, so I just went and tried it in KNIME 4.3.4 Using the format mask dd/MM/yyyy h:mm a KNIME 4.3.4, converts 16/09/2021 6:07 PM KNIME 4.4.1 converts 16/09/2021 6:07 pm They both complain about the opposite case. (I was testing this using locale en-AU as per the screenshot. The result of other locales may vary I guess) Likewise the “a” in the “Date & T…

No promises though, as that thread is about capitalistion of AM/PM in different locales.

A bit more info:

> [@Error Parsing String with String to Date&Time](https://forum.knime.com/t/error-parsing-string-with-string-to-date-time/38549/2):
>
> Hi @christiam, I assume this problem occured with the String to Date&Time Node? You’re right, from how I understand the format specifiers this should indeed work (but it doesn’t). However, I was able to get the node to work by changing the locale from de-AT to en-US. I hope that gets you back online until someone from the team can comment on this. Happy New Year, T [String to Date&Time – Node Documentation](https://hub.knime.com/knime/extensions/org.knime.features.base/latest/org.knime.time.node.convert.stringtodatetime.StringToDateTimeNodeFactory)[DateTimeFormatter (Java Platform SE 8 ) (oracle.com)](https://docs.oracle.com/javase/8/docs/api/java/time/format/DateTimeFormatter.html)

---

_[View the full topic](https://forum.knime.com/t/date-format-in-csv-can-not-be-recognize/41590)._
