# How to formatting date well?

**URL:** <https://community.plotly.com/t/how-to-formatting-date-well/14035>\
**Category:** plotly.js\
**Created:** [September 28, 2018, 6:11am UTC](https://community.plotly.com/t/how-to-formatting-date-well/14035 "2018-09-28T06:11:29Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![kotran](https://avatars.discourse-cdn.com/v4/letter/k/f08c70/32.png) [@kotran](https://community.plotly.com/u/kotran)\
**Post date:** [September 28, 2018, 6:11am UTC](https://community.plotly.com/t/how-to-formatting-date-well/14035/1 "2018-09-28T06:11:29Z")

</div>

Hello 🙂

I followed example and get graph well as I expected like below image

 ![49](https://us1.discourse-cdn.com/flex024/uploads/plot/original/2X/c/c0f865d3dd4cd3674bacc60f92437076ace77473.png)

I have data for every 5 minutes and want to show only time when day is same.  
as image shown, even though day is same as 28th, it keep showing it.

is there any ways that Plotly js provide to help this?

---

<div class="post-metadata">

**Author:** ![etienne](https://sea2.discourse-cdn.com/flex024/user_avatar/community.plotly.com/etienne/32/17_2.png) [@etienne](https://community.plotly.com/u/etienne)\
**Post date:** [September 28, 2018, 3:52pm UTC](https://community.plotly.com/t/how-to-formatting-date-well/14035/2 "2018-09-28T15:52:05Z")

</div>

[https://help.plot.ly/date-format-and-time-series/](https://help.plot.ly/date-format-and-time-series/) is a good place to start.

---

<div class="post-metadata">

**Author:** ![Chiaki](https://avatars.discourse-cdn.com/v4/letter/c/e8c25b/32.png) [@Chiaki](https://community.plotly.com/u/Chiaki)\
**Post date:** [October 3, 2018, 6:37pm UTC](https://community.plotly.com/t/how-to-formatting-date-well/14035/3 "2018-10-03T18:37:45Z")

</div>

Study the documentation. You will find things like [https://plot.ly/javascript/reference/#layout-xaxis-tickformat](https://plot.ly/javascript/reference/#layout-xaxis-tickformat) in there that would’ve answered your question 🐈
