# Ingest Pipeline - Date Processor - Parsing Failure

**URL:** https://discuss.elastic.co/t/ingest-pipeline-date-processor-parsing-failure/366122
**Category:** Elasticsearch
**Tags:** ingest-pipeline
**Created:** [September 5, 2024, 9:30pm UTC](https://discuss.elastic.co/t/ingest-pipeline-date-processor-parsing-failure/366122 "2024-09-05T21:30:27Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![erikg](https://avatars.discourse-cdn.com/v4/letter/e/91b2a8/32.png) [@erikg](https://discuss.elastic.co/u/erikg)
#### Post date: [September 5, 2024, 9:30pm UTC](https://discuss.elastic.co/t/ingest-pipeline-date-processor-parsing-failure/366122/1 "2024-09-05T21:30:27Z")

</div>

Hello,

I don't know why I am getting this error:

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/f/a/faf093cd4ec6b2dfa465750f6f3e35224b9a0f89.png)

This is the format I specified:  
`YYYY/MM/DD HH:MM:SS.SSS`

This is the field value:  
`2024/09/04 23:38:49.930`

Is this not right?

---

<div class="post-metadata">

### Author: ![leandrojmp](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/leandrojmp/32/107231_2.png) [@leandrojmp](https://discuss.elastic.co/u/leandrojmp)
#### Post date: [September 5, 2024, 9:41pm UTC](https://discuss.elastic.co/t/ingest-pipeline-date-processor-parsing-failure/366122/2 "2024-09-05T21:41:49Z")

</div>

> [@erikg](#):
>
> This is the format I specified:  
> `YYYY/MM/DD HH:MM:SS.SSS`

This format is wrong `MM` is for months, it will get the 2 digits of the month, you are using it for months and for minutes, which is wrong, and `SS` is for fraction of seconds, you are using it for seconds as well.

Also, `DD` is for day of the year, for day of the month it needs to be `dd`, and it needs to be `yyyy` not `YYYY`

The format should be something like `yyyy/MM/dd HH:mm:ss.SSS`

---

<div class="post-metadata">

### Author: ![erikg](https://avatars.discourse-cdn.com/v4/letter/e/91b2a8/32.png) [@erikg](https://discuss.elastic.co/u/erikg)
#### Post date: [September 5, 2024, 9:50pm UTC](https://discuss.elastic.co/t/ingest-pipeline-date-processor-parsing-failure/366122/3 "2024-09-05T21:50:14Z")

</div>

Woah thanks!
