# Kibana, getting todays date

**URL:** https://discuss.elastic.co/t/kibana-getting-todays-date/85766
**Category:** Kibana
**Created:** [May 15, 2017, 12:47pm UTC](https://discuss.elastic.co/t/kibana-getting-todays-date/85766 "2017-05-15T12:47:05Z")
**Posts on this page:** 1
**Showing post:** 7

<div class="post-metadata">

### Author: ![hfakar](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/hfakar/32/18211_2.png) [@hfakar](https://discuss.elastic.co/u/hfakar)
#### Post date: [May 15, 2017, 8:05pm UTC](https://discuss.elastic.co/t/kibana-getting-todays-date/85766/7 "2017-05-15T20:05:40Z")

</div>

I tried that and I also did  
`(new Date().getTime()) - doc['duedate'].value()`  
Tried to represent as Number String and date nothing. Both give me 0 results on visualization. But I can get results for `new Date().getTime()`

---

_[View the full topic](https://discuss.elastic.co/t/kibana-getting-todays-date/85766)._
