# Change popup calendar default date

**URL:** <https://forum.inductiveautomation.com/t/change-popup-calendar-default-date/10922>\
**Category:** Ignition\
**Created:** [December 15, 2015, 8:58pm UTC](https://forum.inductiveautomation.com/t/change-popup-calendar-default-date/10922 "2015-12-15T20:58:57Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jado58](https://avatars.discourse-cdn.com/v4/letter/j/cdc98d/32.png) [@Jado58](https://forum.inductiveautomation.com/u/Jado58)\
**Post date:** [December 15, 2015, 8:58pm UTC](https://forum.inductiveautomation.com/t/change-popup-calendar-default-date/10922/1 "2015-12-15T20:58:57Z")

</div>

I want to have the start and end time update every day to make the process easier for the users.  
Can a popup calendar default to show yesterday’s date 7:00 am?

---

<div class="post-metadata">

**Author:** ![MMaynard](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mmaynard/32/3366_2.png) [@MMaynard](https://forum.inductiveautomation.com/u/MMaynard)\
**Post date:** [December 15, 2015, 9:23pm UTC](https://forum.inductiveautomation.com/t/change-popup-calendar-default-date/10922/2 "2015-12-15T21:23:15Z")

</div>

Just set its start date to an expression and use

```auto
dateFormat(dateArithmetic(now(0),-1,'days'), "yyyy-MM-dd 07:00:00")
```
