Home
All Communities
Products
Developers
Industries
Global Communities
Services & Learning
Networks
Esri Events
ArcGIS Topics
User Groups
Events
ArcGIS Ideas
Community Resources
Community Blog
Community Feedback
Community Help
Member Introductions
MVP Program
Discussions
Help
ホーム
開発者
ArcGIS REST APIs and Services
ArcGIS Rest APIs とサービスのアイデア
Provide option to specify time zone for fields retrieved by REST API
JamesBratton
Our data is stored in DB2. The timestamp fields in DB2 are not time zone aware. When we query the data with the REST API, it returns the matching timestamps from DB2 with "UTC" appended. These times in DB2 are not UTC times, but now the REST API is telling me that it is. If I am querying this data through the JavaScript API, it converts that UTC time to my local time before it displays it on the screen. In order to display it correctly, I have to convert the JavaScript output to UTC and then the time displays as it is stored in DB2. It's misleading to be required to convert to UTC to make it display as local. It would be helpful if I could configure ArcGIS Server to specify a default time zone on all of the fields that it gives me instead of having it assume that my data is stored in UTC.
タグ付きの投稿をもっと見る
Already Offered
Status: Already Offered
コメント
TanuHoque
Please see this help topics and blog posts:
https://pro.arcgis.com/en/pro-app/latest/help/data/services/use-web-feature-layers.htm#ESRI_SECTION1_9EC2834147564F93B442B30975039010
https://pro.arcgis.com/en/pro-app/latest/help/sharing/overview/configure-service-parameters.htm
https://www.esri.com/arcgis-blog/products/arcgis-pro/mapping/working-with-agol-feature-services-date-time-attributes-in-non-utc-time-zone-in-arcgis-pro-2-7/
会話に参加する
投稿、コンテンツのフォローなどにはサインインしてください。初めてですか?無料で登録しましょう。
サインイン
登録
クイックリンク
すべてのコミュニティ
最近の投稿
ユーザーグループ
フォロー中のコンテンツ
コミュニティヘルプ