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?
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.
https://community.esri.com/t5/arcgis-online-ideas/allow-date-only-field-type-from-arcpro/idc-p/1580930#M12132
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.
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.