# Inserting date range into report title

**URL:** <https://forum.inductiveautomation.com/t/inserting-date-range-into-report-title/57757>\
**Category:** Ignition\
**Created:** [March 29, 2022, 2:07pm UTC](https://forum.inductiveautomation.com/t/inserting-date-range-into-report-title/57757 "2022-03-29T14:07:22Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![gijovarghese8](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/gijovarghese8/32/20571_2.png) [@gijovarghese8](https://forum.inductiveautomation.com/u/gijovarghese8)\
**Post date:** [March 29, 2022, 2:07pm UTC](https://forum.inductiveautomation.com/t/inserting-date-range-into-report-title/57757/1 "2022-03-29T14:07:22Z")

</div>

Hello,

i am trying to setup a report that pulls data for the last 5 days. how do i setup the date to update automatically in the title or the report in a (YYYY-MM-DD) format?

so i got the current date by using @date@, but how do i get the date from 5 days ago?

Regards

---

<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:** [March 29, 2022, 2:40pm UTC](https://forum.inductiveautomation.com/t/inserting-date-range-into-report-title/57757/2 "2022-03-29T14:40:24Z")

</div>

The easiest way is to use a parameter for this. Check out how we do the predefined “StartDate” parameter in the data section of your report.

---

<div class="post-metadata">

**Author:** ![gijovarghese8](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/gijovarghese8/32/20571_2.png) [@gijovarghese8](https://forum.inductiveautomation.com/u/gijovarghese8)\
**Post date:** [March 29, 2022, 3:24pm UTC](https://forum.inductiveautomation.com/t/inserting-date-range-into-report-title/57757/3 "2022-03-29T15:24:27Z")

</div>

Thank you so much, for some reason my mind did not think about using that, i am using the start and end date parameter in the report to get the data anyways. its works!
