Select to view content in your preferred language

Date fiield in pop-up is different than date field in arcmap

2483
7
11-02-2012 06:15 AM
JonathanCrist
Emerging Contributor
When I add shapefiles to Arcgis Online the dates in the date field change automatically to the day prior. For example, if the date in arcmap is 10/2/2012 it gets changed to 10/1/2012 when I add it to Arcgis Online.
Tags (2)
0 Kudos
7 Replies
MikeMinami
Esri Notable Contributor
Web browsers automatically display time in local time. This may help explain things.

http://forums.arcgis.com/threads/34299-Web-Map-shows-wrong-quot-beach-sampling-date-quot-in-popup-wi...

Thanks,

Mike
0 Kudos
JonathanCrist
Emerging Contributor
Ok thanks for your help. So I guess my only option is to create a string field and add the date that way? Also if the date is in a string field will I still be able to use the layer as a "time-aware" layer?
0 Kudos
MikeMinami
Esri Notable Contributor
ArcGIS Server services are the only layers we support as "time aware" layers. Do your layers reference your services? I've not tried it myself...

Mike
0 Kudos
JonathanCrist
Emerging Contributor
As of now I do not have access to the server. I have been creating the layers in Aarcmap and creating feature services in Arconline from them.  I don't have any "time-aware" layers currently but I'm asking if not a using a "date" field for my dates would alter the ability to create "time-aware" layers.
0 Kudos
MikeMinami
Esri Notable Contributor
Yes, I would imagine we need a date field to publish a time aware layer, once we support it in the hosted environment. As we have not implemented this functionality, I can't tell you exactly how it would work.

We are also working on exposing additional properties for date fields to override the browser behavior and not shift time displays.

Thanks,

Mike
0 Kudos
JonathanCrist
Emerging Contributor
I have tried offsetting the time and that did not work. I also tried setting the time to UTM Pacific Time and that did not work. I will keep messing around with it to see if I find a solution. Thanks for your help.
0 Kudos
RachelS
Frequent Contributor
Jonathan,
Did you find a solution or work around to this as I am having the same problems.
I'm using the latest version of ArcGIS and only have the Flex viewer rater than API.

Rachel
0 Kudos