# Question on Date Processor

**URL:** <https://discuss.elastic.co/t/question-on-date-processor/371420>\
**Category:** Elasticsearch\
**Tags:** ingest-pipeline\
**Created:** [December 3, 2024, 8:43pm UTC](https://discuss.elastic.co/t/question-on-date-processor/371420 "2024-12-03T20:43:11Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![thejackal2020](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/thejackal2020/32/139447_2.png) [@thejackal2020](https://discuss.elastic.co/u/thejackal2020)\
**Post date:** [December 3, 2024, 8:43pm UTC](https://discuss.elastic.co/t/question-on-date-processor/371420/1 "2024-12-03T20:43:11Z")

</div>

I have a field that is currently set as 'keyword' and I want to convert it to be 'date'.

I have added the Date processor in my ingest pipeline. I have set the formats to be "YYYY-MM-dd HH:mm:ss,SSS"

I have the target field to be same as the field value.

When I do a test with a document the input of "2024-12-03 19:13:28,143" is converted to "2024-01-01T19:13:28.143Z"

It appears that it is not liking the date? The time is the same but the date portion of it is converted from 2024-12-03 to 2024-01-01 for some reason.

What am I missing?
