# Reset a certain variable daily

**URL:** https://forum.universal-robots.com/t/reset-a-certain-variable-daily/20411
**Category:** Technical Questions
**Created:** [April 6, 2022, 2:12pm UTC](https://forum.universal-robots.com/t/reset-a-certain-variable-daily/20411 "2022-04-06T14:12:09Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![jvick](https://avatars.discourse-cdn.com/v4/letter/j/34f0e0/32.png) [@jvick](https://forum.universal-robots.com/u/jvick)
#### Post date: [April 6, 2022, 2:12pm UTC](https://forum.universal-robots.com/t/reset-a-certain-variable-daily/20411/1 "2022-04-06T14:12:09Z")

</div>

Good morning all I have some variables in my program to track how may parts are done per day and all time parts done. I was curious if there was a way in which I could automatically have the daily parts variable reset to zero while storing that past days value in a temporary variable which gets saved over by the next days amount?

Thank you!
