Select to view content in your preferred language

Allow Date Only field type from ArcPro

412
4
01-29-2025 10:53 AM
Status: Open
DryCreekEng
Frequent Contributor

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. 

Tags (2)
4 Comments
Laura
by MVP Regular Contributor

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

 

KenBuja

You should set the layer's time zone before you publish the service. Take a look at the documentation about time settings.

RussRoberts

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/

DryCreekEng

Thank you everyone so much for your advice and knowledge. I will dig into all the links you have provided.