I created a feature class in ArcPro that includes a Date and Time field. I also included a Date Only field even though ArcGIS Online doesnt like it. I have found that when I share the feature class as a Web Layer to AGOL the date will often be off by 1 day. I use the Date Only field to compare against the Date and Time field. It seems there is some time conversion that occurs and puts my dates 1 day later. Has anyone found a work-around for this?
Solved! Go to Solution.
Thanks Chris, you are right. I also posted this on the ArcGIS Online Ideas page and received a few great posts with advice on how to set my layer's time zone before publishing.
Hello @DryCreekEng , as a guess your Date & Time example "7/29/2022 5:00 PM" is in a USA timezone. But your Date is in UTC time. So 5:00 PM in your USA timezone is maybe 8 hours behind UTC where at that moment it is already 1:00 AM, but the next day. Thus the next day's Date is shown.
Thanks Chris, you are right. I also posted this on the ArcGIS Online Ideas page and received a few great posts with advice on how to set my layer's time zone before publishing.