Questions Tagged With webservicehttps://answers.axonivy.com/tags/webservice/?type=rss&user=Dieter%20Staudtquestions tagged <span class="tag">webservice</span>enMon, 13 Jun 2016 13:52:04 -0400How can i call a http-session to an internet-url from ivy and to store some informations form the webpage-answer?https://answers.axonivy.com/questions/1802/how-can-i-call-a-http-session-to-an-internet-url-from-ivy-and-to-store-some-informations-form-the-webpage-answer<p>Dear all,</p> <p>we have the problem that the timestamp for storing in the database is the local timestamp where the database server is hosted. We need also the local time of the user request, sided all around the word.</p> <p>To calculate the local time of the user there is a https-api-call via Google Maps and the answer will deliver the time zone with the off_set und the daylight saving time offset as diffenrce to UTC.</p> <p>For example: Today it is 2016-06-13 09:45 CEST = 07:45 UTC; the API delivers for Sydney: 36000 Seconds offset and 0 Secondes dst-offset and for Berlin 3600 Seconds offset and 3600 Seconds dst-offset; I can now calculate Berlin Time - 1 Hour Offset - 1 Hour DST-Offset = UTC + 10 Hours = Sidney Local Time = 17:45 </p> <p><a href="https://maps.googleapis.com/maps/api/timezone/xml?location=-33.510000,151.200000&amp;timestamp=1696060417">https://maps.googleapis.com/maps/api/timezone/xml?location=-33.510000,151.200000&amp;timestamp=1696060417</a></p> <p>Is is possible to do this with IVY or is thera an other way to get the local time of the staff's office?</p> <p>Thanks in advance.</p> <p>Best regards Dieter</p>Dieter StaudtMon, 13 Jun 2016 13:52:04 -0400https://answers.axonivy.com/questions/1802/how-can-i-call-a-http-session-to-an-internet-url-from-ivy-and-to-store-some-informations-form-the-webpage-answerhtmlwebpageswebservice