# How to clear Date-Time Picker after each time it is used?

**URL:** <https://forum.inductiveautomation.com/t/how-to-clear-date-time-picker-after-each-time-it-is-used/68526>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [January 12, 2023, 2:25am UTC](https://forum.inductiveautomation.com/t/how-to-clear-date-time-picker-after-each-time-it-is-used/68526 "2023-01-12T02:25:30Z")\
**Posts on this page:** 1\
**Showing post:** 14

<div class="post-metadata">

**Author:** ![amarks](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/amarks/32/45610_2.png) [@amarks](https://forum.inductiveautomation.com/u/amarks)\
**Post date:** [January 16, 2023, 11:57pm UTC](https://forum.inductiveautomation.com/t/how-to-clear-date-time-picker-after-each-time-it-is-used/68526/14 "2023-01-16T23:57:03Z")

</div>

Any luck?  
I used part of your example on another solution:

> [@Read, write Tag values](https://forum.inductiveautomation.com/t/read-write-tag-values/68457/22):
>
> Start with just getting the output to change first. Then we'll worry about showing/hiding with the submit button. Make sure your parameters are set up correctly on your embedded view to get the output to change, rather than send a message. If this is the yes button script def runAction(self, event): if self.view.params.popup: system.perspective.sendMessage("Confirm", payload = {"payloadID":self.view.params.payload\_id, "confirm":True}) system.perspective.closePopup('') else: self.view.…

---

_[View the full topic](https://forum.inductiveautomation.com/t/how-to-clear-date-time-picker-after-each-time-it-is-used/68526)._
