# Report parameter format for a date (not default)

**URL:** <https://forum.inductiveautomation.com/t/report-parameter-format-for-a-date-not-default/106977>\
**Category:** Ignition\
**Tags:** ignition79\
**Created:** [June 3, 2025, 7:49pm UTC](https://forum.inductiveautomation.com/t/report-parameter-format-for-a-date-not-default/106977 "2025-06-03T19:49:04Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![thomas.trast](https://avatars.discourse-cdn.com/v4/letter/t/858c86/32.png) [@thomas.trast](https://forum.inductiveautomation.com/u/thomas.trast)\
**Post date:** [June 3, 2025, 7:49pm UTC](https://forum.inductiveautomation.com/t/report-parameter-format-for-a-date-not-default/106977/1 "2025-06-03T19:49:04Z")

</div>

I am trying to put in a different date than now() or default in a report in the parameter tab so that I can look at previous days data. What is the syntax for putting in a date in that field?

---

<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:** [June 3, 2025, 8:21pm UTC](https://forum.inductiveautomation.com/t/report-parameter-format-for-a-date-not-default/106977/2 "2025-06-03T20:21:12Z")

</div>

In the report editor, you would replace `now()` with a desired datetime constant or explicit expression (like `getDate()`).

At point of use, you would pass a desired datetime object in the parameters of the report.

---

<div class="post-metadata">

**Author:** ![thomas.trast](https://avatars.discourse-cdn.com/v4/letter/t/858c86/32.png) [@thomas.trast](https://forum.inductiveautomation.com/u/thomas.trast)\
**Post date:** [June 3, 2025, 8:25pm UTC](https://forum.inductiveautomation.com/t/report-parameter-format-for-a-date-not-default/106977/3 "2025-06-03T20:25:11Z")

</div>

So there is no way to put a date directly in the parameter at point of use? I would have to use a memory tag or something similar?

---

<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:** [June 3, 2025, 8:39pm UTC](https://forum.inductiveautomation.com/t/report-parameter-format-for-a-date-not-default/106977/4 "2025-06-03T20:39:07Z")

</div>

> [@thomas.trast](#):
>
> I would have to use a memory tag or something similar?

No, you don't need a tag. If using a report viewer, you can bind arbitrary UI properties to report parameters. (Like from a datetime entry component.) If using a script to generate the report, the script can populate the report parameters any way it likes.

---

<div class="post-metadata">

**Author:** ![thomas.trast](https://avatars.discourse-cdn.com/v4/letter/t/858c86/32.png) [@thomas.trast](https://forum.inductiveautomation.com/u/thomas.trast)\
**Post date:** [June 3, 2025, 8:56pm UTC](https://forum.inductiveautomation.com/t/report-parameter-format-for-a-date-not-default/106977/5 "2025-06-03T20:56:03Z")

</div>

I was able to do what I wanted from the getdate() command. thank you.
