# Adjust Report StartDate by hours and Minutes

**URL:** <https://forum.inductiveautomation.com/t/adjust-report-startdate-by-hours-and-minutes/35301>\
**Category:** Ignition\
**Tags:** ignition80\
**Created:** [June 3, 2020, 7:31pm UTC](https://forum.inductiveautomation.com/t/adjust-report-startdate-by-hours-and-minutes/35301 "2020-06-03T19:31:44Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![john.ackley](https://avatars.discourse-cdn.com/v4/letter/j/c6cbf5/32.png) [@john.ackley](https://forum.inductiveautomation.com/u/john.ackley)\
**Post date:** [June 3, 2020, 7:31pm UTC](https://forum.inductiveautomation.com/t/adjust-report-startdate-by-hours-and-minutes/35301/1 "2020-06-03T19:31:44Z")

</div>

I have a report that I have to run at 1 minute past the hour. I would like to set my StartDate time for -8 hours and -1 minute. I have tried using addHours(now(),-8) && addMinutes(now(),-1) with no success. Is there a better way to do this?

Thank you in advance for your help.

---

<div class="post-metadata">

**Author:** ![KathyApplebaum](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kathyapplebaum/32/7261_2.png) [@KathyApplebaum](https://forum.inductiveautomation.com/u/KathyApplebaum)\
**Post date:** [June 3, 2020, 8:04pm UTC](https://forum.inductiveautomation.com/t/adjust-report-startdate-by-hours-and-minutes/35301/2 "2020-06-03T20:04:13Z")

</div>

addHours(addMinutes(now(), -1), -8)

---

<div class="post-metadata">

**Author:** ![john.ackley](https://avatars.discourse-cdn.com/v4/letter/j/c6cbf5/32.png) [@john.ackley](https://forum.inductiveautomation.com/u/john.ackley)\
**Post date:** [June 3, 2020, 8:20pm UTC](https://forum.inductiveautomation.com/t/adjust-report-startdate-by-hours-and-minutes/35301/3 "2020-06-03T20:20:55Z")

</div>

That did it. Thank you Kathy. I’m new to this, so thank you fielding my dumb questions.

---

<div class="post-metadata">

**Author:** ![Govind\_Suthar1](https://avatars.discourse-cdn.com/v4/letter/g/a87d85/32.png) [@Govind\_Suthar1](https://forum.inductiveautomation.com/u/Govind_Suthar1)\
**Post date:** [February 21, 2024, 6:03am UTC](https://forum.inductiveautomation.com/t/adjust-report-startdate-by-hours-and-minutes/35301/4 "2024-02-21T06:03:49Z")

</div>

Hello

How to set the customize midnight time 00:15:00 in EndDate parameter in the reports?

---

<div class="post-metadata">

**Author:** ![john.ackley](https://avatars.discourse-cdn.com/v4/letter/j/c6cbf5/32.png) [@john.ackley](https://forum.inductiveautomation.com/u/john.ackley)\
**Post date:** [February 21, 2024, 1:37pm UTC](https://forum.inductiveautomation.com/t/adjust-report-startdate-by-hours-and-minutes/35301/5 "2024-02-21T13:37:21Z")

</div>

I would recommend setting your end time to now() and setting your report to run at 00:15:00. That would be the easiest way to accomplish this.

Thanks and have a good day.

**_John Ackley_**

**_Controls Engineer_**

![signatureImage](https://us1.discourse-cdn.com/inductiveautomation/original/3X/c/9/c9323779c5ccbcbaee3f312c195ced396fd05220.jpeg)

**Office: (573) 207-4141**

**Email:** **[john.ackley@pertech-llc.com](mailto:john.ackley@pertech-llc.com)**

**Website:** **[http://pertech-llc.com](http://pertech-llc.com/)**

This email is intended only for the addressee(s) and may pertain to a confidential matter. If you have received this message in error, please notify the sender, delete it from your system, and destroy all printed copies. The information expressed in this email are the views and opinions of the sender and are not necessarily the views of Pertech. No liability will be accepted by Pertech for any loss or damage sustained as a result of software viruses that may have entered your system from this transmission.

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [February 21, 2024, 1:55pm UTC](https://forum.inductiveautomation.com/t/adjust-report-startdate-by-hours-and-minutes/35301/6 "2024-02-21T13:55:29Z")

</div>

When you post to this forum via email, you need to **not** include any signature block, per [this forum's rules](https://forum.inductiveautomation.com/faq).

Please visit the forum with your browser and edit your comment to remove the sig. In the future, if you cannot make your email system omit the signature noise, don't post via email.

---

<div class="post-metadata">

**Author:** ![KathyApplebaum](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kathyapplebaum/32/7261_2.png) [@KathyApplebaum](https://forum.inductiveautomation.com/u/KathyApplebaum)\
**Post date:** [February 21, 2024, 4:21pm UTC](https://forum.inductiveautomation.com/t/adjust-report-startdate-by-hours-and-minutes/35301/7 "2024-02-21T16:21:01Z")

</div>

Report parameters are [expressions](https://www.docs.inductiveautomation.com/docs/8.1/appendix/expression-functions/date-and-time). Probably the easiest would be `addMinutes(midnight(), 15)`
