# Print Current date time in kibana watcher webhook body

**URL:** <https://discuss.elastic.co/t/print-current-date-time-in-kibana-watcher-webhook-body/238639>\
**Category:** Kibana\
**Created:** [June 25, 2020, 10:13am UTC](https://discuss.elastic.co/t/print-current-date-time-in-kibana-watcher-webhook-body/238639 "2020-06-25T10:13:41Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nord](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nord/32/71103_2.png) [@Nord](https://discuss.elastic.co/u/Nord)\
**Post date:** [June 25, 2020, 10:13am UTC](https://discuss.elastic.co/t/print-current-date-time-in-kibana-watcher-webhook-body/238639/1 "2020-06-25T10:13:41Z")

</div>

Hi  
i have alert and i want to print current time/watcher trigger time in webhook body of a kibana watcher?  
i have tried to add `ctx.trigger.scheduled_time` or `ctx.trigger.current_time` but nothing appear!

---

<div class="post-metadata">

**Author:** ![dosant](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dosant/32/64489_2.png) [@dosant](https://discuss.elastic.co/u/dosant)\
**Post date:** [July 16, 2020, 2:33pm UTC](https://discuss.elastic.co/t/print-current-date-time-in-kibana-watcher-webhook-body/238639/2 "2020-07-16T14:33:22Z")

</div>

Hi @Nord,

Have you wrapped it in `{{ }}` ?  
Also try `triggered_time`:

* * *

`{{ctx.trigger.scheduled_time}}`  
`{{ctx.trigger.triggered_time}}`

---

<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:** [August 13, 2020, 2:33pm UTC](https://discuss.elastic.co/t/print-current-date-time-in-kibana-watcher-webhook-body/238639/3 "2020-08-13T14:33:30Z")

</div>

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