I am trying to run a daily report. I want the report to execute at 5 am every day and the values from the tags in the data source to be from 3 am that day. When I do a preview using StartDate todate('2025-09-25 00:03:00') and EndDate now() everything looks like it should in the report.
I will note that I am new to reporting in Ignition and scripting in general and had to get someone to send me something to try for the StartDate and EndDate parameters. I am hoping the seasoned vets can help me out.
Using string parsing after string formatting is extremely unwise. It is both slow and subject to subtle flaws, particularly in regards to timezones and midnight crossings. Don't do it.