# Set Calendar Start time to current hour with a 15 minute offset

**URL:** <https://forum.inductiveautomation.com/t/set-calendar-start-time-to-current-hour-with-a-15-minute-offset/25379>\
**Category:** Ignition\
**Created:** [May 28, 2019, 9:30pm UTC](https://forum.inductiveautomation.com/t/set-calendar-start-time-to-current-hour-with-a-15-minute-offset/25379 "2019-05-28T21:30:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Neil\_B](https://avatars.discourse-cdn.com/v4/letter/n/e95f7d/32.png) [@Neil\_B](https://forum.inductiveautomation.com/u/Neil_B)\
**Post date:** [May 28, 2019, 9:30pm UTC](https://forum.inductiveautomation.com/t/set-calendar-start-time-to-current-hour-with-a-15-minute-offset/25379/1 "2019-05-28T21:30:04Z")

</div>

I’m trying to set a “Start Date” for an hourly counts chart.  
My site shift starts 15 minutes after the hour.  
Is there a way to use the “now()” but only look at the hour?  
I think I should be able to add +15 minutes for the offset at that point.

---

<div class="post-metadata">

**Author:** ![Neil\_B](https://avatars.discourse-cdn.com/v4/letter/n/e95f7d/32.png) [@Neil\_B](https://forum.inductiveautomation.com/u/Neil_B)\
**Post date:** [May 28, 2019, 9:51pm UTC](https://forum.inductiveautomation.com/t/set-calendar-start-time-to-current-hour-with-a-15-minute-offset/25379/2 "2019-05-28T21:51:36Z")

</div>

I guess I figured it out. For anyone else that may run into this.

```auto
dateFormat(now(), 'yyy-MM-dd HH:15:00')

```
