# Pruning zeros for milliseconds level

**URL:** <https://community.plotly.com/t/pruning-zeros-for-milliseconds-level/11696>\
**Category:** plotly.js\
**Created:** [July 11, 2018, 6:53pm UTC](https://community.plotly.com/t/pruning-zeros-for-milliseconds-level/11696 "2018-07-11T18:53:31Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![harpritc](https://avatars.discourse-cdn.com/v4/letter/h/a183cd/32.png) [@harpritc](https://community.plotly.com/u/harpritc)\
**Post date:** [July 11, 2018, 6:53pm UTC](https://community.plotly.com/t/pruning-zeros-for-milliseconds-level/11696/1 "2018-07-11T18:53:31Z")

</div>

Hi,

Plotly is pruning zero. For example when I want to set in x: 2018-07-11 23:43:42.660  
It is displaying 2018-07-11 23:43:42.66.  
Because of which I am not able to retrieve the results set in 2018-07-11 23:43:42.660

Can you please help?

Thanks  
Harprit

---

<div class="post-metadata">

**Author:** ![harpritc](https://avatars.discourse-cdn.com/v4/letter/h/a183cd/32.png) [@harpritc](https://community.plotly.com/u/harpritc)\
**Post date:** [July 12, 2018, 5:20pm UTC](https://community.plotly.com/t/pruning-zeros-for-milliseconds-level/11696/2 "2018-07-12T17:20:09Z")

</div>

@etienne , can you please let me know if there is any solution to this problem?

Thanks  
Harprit

---

<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:** [July 13, 2018, 3:07pm UTC](https://community.plotly.com/t/pruning-zeros-for-milliseconds-level/11696/3 "2018-07-13T15:07:55Z")

</div>

Isn’t this a duplicate of [Tickformat is not working as expected](https://community.plotly.com/t/tickformat-is-not-working-as-expected/10874) ?

---

<div class="post-metadata">

**Author:** ![harpritc](https://avatars.discourse-cdn.com/v4/letter/h/a183cd/32.png) [@harpritc](https://community.plotly.com/u/harpritc)\
**Post date:** [July 13, 2018, 6:32pm UTC](https://community.plotly.com/t/pruning-zeros-for-milliseconds-level/11696/4 "2018-07-13T18:32:36Z")

</div>

@etienne, if you see below image: On the x-axis, it shows the dot at the correct point: 2018-07-11 23:43:42.660  
but when I click that point it shows: 2018-07-11 23:43:42.66  
It prunes that zero, so I am not able to retrieve the value associated with that point.

 ![image](https://us1.discourse-cdn.com/flex024/uploads/plot/original/2X/e/e5690f6a6e8933d30d7fade5369fecb2c981516c.png)
