# Comment déclarer une date découpée sur deux champs dans un fichier

**URL:** https://discuss.elastic.co/t/comment-declarer-une-date-decoupee-sur-deux-champs-dans-un-fichier/148989
**Category:** Discussions en français
**Created:** [September 18, 2018, 1:20pm UTC](https://discuss.elastic.co/t/comment-declarer-une-date-decoupee-sur-deux-champs-dans-un-fichier/148989 "2018-09-18T13:20:34Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![Julien](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/julien/32/19688_2.png) [@Julien](https://discuss.elastic.co/u/Julien)
#### Post date: [September 18, 2018, 1:23pm UTC](https://discuss.elastic.co/t/comment-declarer-une-date-decoupee-sur-deux-champs-dans-un-fichier/148989/2 "2018-09-18T13:23:54Z")

</div>

La solution pour merger 2 champs contenant date et heure vers un seul champs datetime est ici :

> [@How to merge separate date and time to @timestamp](https://discuss.elastic.co/t/how-to-merge-separate-date-and-time-to-timestamp/132545):
>
> Hi all. I parse a csv with date and time events. These events has no syslogtime. They are separated in to date and time. How can I merge date and time to the @timestamp? I tried some samples with "mutate" and "date" I had found in the forum but without success. Thats my "rubydebug" "StartTime" =\> "18:32:27", "StartDate" =\> "16.05.2018", "@timestamp" =\> 2018-05-19T00:06:28.173Z," Kind regards - Jiona

---

_[View the full topic](https://discuss.elastic.co/t/comment-declarer-une-date-decoupee-sur-deux-champs-dans-un-fichier/148989)._
