# Display current date in Canvas Workpad

**URL:** https://discuss.elastic.co/t/display-current-date-in-canvas-workpad/350466
**Category:** Kibana
**Created:** [January 5, 2024, 1:38pm UTC](https://discuss.elastic.co/t/display-current-date-in-canvas-workpad/350466 "2024-01-05T13:38:08Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Matheus\_Rodrigues](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/matheus_rodrigues/32/130568_2.png) [@Matheus\_Rodrigues](https://discuss.elastic.co/u/Matheus_Rodrigues)
#### Post date: [January 5, 2024, 1:38pm UTC](https://discuss.elastic.co/t/display-current-date-in-canvas-workpad/350466/1 "2024-01-05T13:38:08Z")

</div>

Hello,

I want to display the current day in text format on my Canvas Workpad, e.g.: 05th, December, or something like that. Do you have any ideas on how I can do it? FYI the date information is in the @timestamp field.

Thanks

---

<div class="post-metadata">

### Author: ![Priscilla\_Parodi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/priscilla_parodi/32/43047_2.png) [@Priscilla\_Parodi](https://discuss.elastic.co/u/Priscilla_Parodi)
#### Post date: [January 9, 2024, 2:42pm UTC](https://discuss.elastic.co/t/display-current-date-in-canvas-workpad/350466/2 "2024-01-09T14:42:44Z")

</div>

Hello @Matheus_Rodrigues, welcome to the community!

Given that you have this date stored in a timestamp field, one way to display the most recent timestamp is to use a text element (add element -\> text), then open the expression editor and add something like this:

```auto
filters
| essql
query="SELECT timestamp as date FROM \"kibana_sample_data_logs\"
ORDER BY timestamp DESC
LIMIT 1"
| markdown "Date: {{#each rows}}{{date}}{{/each}}"
| render

```

---

<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 6, 2024, 2:43pm UTC](https://discuss.elastic.co/t/display-current-date-in-canvas-workpad/350466/3 "2024-02-06T14:43:01Z")

</div>

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