# Show Current Date and Time in Kibana Dashboard

**URL:** <https://discuss.elastic.co/t/show-current-date-and-time-in-kibana-dashboard/217312>\
**Category:** Kibana\
**Created:** [January 31, 2020, 7:40am UTC](https://discuss.elastic.co/t/show-current-date-and-time-in-kibana-dashboard/217312 "2020-01-31T07:40:22Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Aadesh\_Sharma](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/aadesh_sharma/32/60543_2.png) [@Aadesh\_Sharma](https://discuss.elastic.co/u/Aadesh_Sharma)\
**Post date:** [January 31, 2020, 7:40am UTC](https://discuss.elastic.co/t/show-current-date-and-time-in-kibana-dashboard/217312/1 "2020-01-31T07:40:22Z")

</div>

Hi,

Is there any way to show current date and time in kibana dashboard. I have tried so many ways but nothing worked

---

<div class="post-metadata">

**Author:** ![balaji\_18](https://avatars.discourse-cdn.com/v4/letter/b/bbce88/32.png) [@balaji\_18](https://discuss.elastic.co/u/balaji_18)\
**Post date:** [January 31, 2020, 8:11am UTC](https://discuss.elastic.co/t/show-current-date-and-time-in-kibana-dashboard/217312/2 "2020-01-31T08:11:14Z")

</div>

Use vega,

{  
"$schema": "[https://vega.github.io/schema/vega/v3.json](https://vega.github.io/schema/vega/v3.json)",  
"title": "Date",  
"data": {  
"url": {  
"%context%": true,  
"%timefield%": "@timestamp",  
"index": "\_all",  
"body": {  
"size": 0  
}  
}  
},  
"marks": [  
{  
"type": "text",  
"encode": {  
"enter": {  
"fill": {"value": "#000"},  
"fontSize": {"value": "30"},  
"text": {"signal": "timeFormat(now(), '%Y-%m-%dT%H:%M:%S')"}  
},  
"update": {"x": {"value": "0"}, "y": {"value": "0"}}  
}  
}  
]  
}

---

<div class="post-metadata">

**Author:** ![Aadesh\_Sharma](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/aadesh_sharma/32/60543_2.png) [@Aadesh\_Sharma](https://discuss.elastic.co/u/Aadesh_Sharma)\
**Post date:** [January 31, 2020, 8:24am UTC](https://discuss.elastic.co/t/show-current-date-and-time-in-kibana-dashboard/217312/3 "2020-01-31T08:24:38Z")

</div>

Thanks bro for your help but I have one issue with that way I have to refresh the dashboard in every 1 sec to make this reflect

---

<div class="post-metadata">

**Author:** ![balaji\_18](https://avatars.discourse-cdn.com/v4/letter/b/bbce88/32.png) [@balaji\_18](https://discuss.elastic.co/u/balaji_18)\
**Post date:** [January 31, 2020, 9:02am UTC](https://discuss.elastic.co/t/show-current-date-and-time-in-kibana-dashboard/217312/4 "2020-01-31T09:02:17Z")

</div>

I too need that bro.. still no answer.

---

<div class="post-metadata">

**Author:** ![Aadesh\_Sharma](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/aadesh_sharma/32/60543_2.png) [@Aadesh\_Sharma](https://discuss.elastic.co/u/Aadesh_Sharma)\
**Post date:** [January 31, 2020, 11:35am UTC](https://discuss.elastic.co/t/show-current-date-and-time-in-kibana-dashboard/217312/5 "2020-01-31T11:35:45Z")

</div>

Okay bro no problem btw you can put 00 at the place of %s in time format and refresh dashboard in every 20 or 30 seconds.... if it helps you so

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [February 28, 2020, 11:35am UTC](https://discuss.elastic.co/t/show-current-date-and-time-in-kibana-dashboard/217312/6 "2020-02-28T11:35:48Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
