# How 'old' are the documents?

**URL:** https://discuss.elastic.co/t/how-old-are-the-documents/250766
**Category:** Kibana
**Created:** [October 2, 2020, 9:02am UTC](https://discuss.elastic.co/t/how-old-are-the-documents/250766 "2020-10-02T09:02:47Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![Marius\_Dragomir](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/marius_dragomir/32/42087_2.png) [@Marius\_Dragomir](https://discuss.elastic.co/u/Marius_Dragomir)
#### Post date: [October 5, 2020, 4:57pm UTC](https://discuss.elastic.co/t/how-old-are-the-documents/250766/2 "2020-10-05T16:57:12Z")

</div>

Yes, your intuition is good.  
This is how to calculate the difference between 2 dates in Kibana scripted fields: [Kibana, getting todays date](https://discuss.elastic.co/t/kibana-getting-todays-date/85766/7)

There will be small differences in seconds based on how many documents the calculation is done for, but I guess you don't need that kind of precision.

---

_[View the full topic](https://discuss.elastic.co/t/how-old-are-the-documents/250766)._
