I have had many issues when sharing a feature class from ArcPro to AGOL and using the Date and Time field where the date is shown as +1 day from the actual date set in Pro. It also shows the time as around 5pm in AGOL when I set it as 12:00am in ArcPro. Right now AGOL doesnt accept the Date Only field. PLEASE CHANGE THIS so I dont have spend an hour manually editing data in AGOL that I already edited in ArcPro. What a pain.
Dates are converted to UTC when they're stored because the physical location of the server hosting the data and the people viewing the maps that contain the data can be anywhere in the world.
https://doc.arcgis.com/en/arcgis-online/manage-data/work-with-date-fields.htm
You should set the layer's time zone before you publish the service. Take a look at the documentation about time settings.
Date only fields are supported in AGO here is a blog with how you can use them in Online. https://www.esri.com/arcgis-blog/products/arcgis-online/data-management/save-the-date-in-map-viewer/
Thank you everyone so much for your advice and knowledge. I will dig into all the links you have provided.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.