My survey includes a dateTime field for the user to select the date and time of an incident. The correct value is being carried over to my feature layer. However, the time is off by 6 hours when displayed in my report. What do I need to do in the report to show the correct time?
Here is a test submission I made this morning for an incident that occurred the previous day at 9:00 am. The correct time and date carry over to the feature layer.
Here is my report template and output. Notice the 6 hour difference? Is something wrong with my time format?
Solved! Go to Solution.
@clt_cabq Thanks for that.
I actually found my mistake and should have waited a little bit longer before posting the question.
The issue was in the time format. I changed it to ${bite_time | format:"H:mm A"} and now I get the correct time.
Not sure where you are but this sounds like it could be a UTC to local time issue.. here's one article that describes how to convert those UTC values to your local time
@clt_cabq Thanks for that.
I actually found my mistake and should have waited a little bit longer before posting the question.
The issue was in the time format. I changed it to ${bite_time | format:"H:mm A"} and now I get the correct time.