<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Public Synthetic Monitor's Timezones (AEST / Australia) in Synthetic Monitoring</title>
    <link>https://community.dynatrace.com/t5/Synthetic-Monitoring/Public-Synthetic-Monitor-s-Timezones-AEST-Australia/m-p/170344#M897</link>
    <description>&lt;P&gt;HI no one ever contacted me &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt; - but we have resolved the issue.&lt;BR /&gt;&lt;BR /&gt;Can you please log a documentation update to show that Public locations run in UTC - I am sure it will help others. - as i bet most people assume the public location synthetic locations run in the locations time zone.. I.E AEST for Sydney? &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 05 Aug 2021 10:33:40 GMT</pubDate>
    <dc:creator>ThomasEaton</dc:creator>
    <dc:date>2021-08-05T10:33:40Z</dc:date>
    <item>
      <title>Public Synthetic Monitor's Timezones (AEST / Australia)</title>
      <link>https://community.dynatrace.com/t5/Synthetic-Monitoring/Public-Synthetic-Monitor-s-Timezones-AEST-Australia/m-p/169230#M874</link>
      <description>&lt;P&gt;All,&lt;BR /&gt;&lt;BR /&gt;I have created a 90 step synthetic, which is to create a quote.&amp;nbsp;&lt;A href="https://www.qbe.com/au/home-insurance" target="_blank" rel="noopener"&gt;https://www.qbe.com/au/home-insurance&lt;/A&gt;&amp;nbsp;- it is open for the world to access and generate a quote for a policy in Home or Insurance, these were the products i was looking at.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;The issue is, I am in UK (UTC+1 / GMT+1 / BST), so AEST (Australia) passes into a new day currently 9 hours ahead of me. So when i record the synthetic, i set my OS timezone to Sydney (if i do not, when we hit 3pm (GMT+1), the website 2nd page, after you hit get a quote, it auto generates the date and you can not change it, is it set to today.&lt;BR /&gt;&lt;BR /&gt;I spoke to DynatraceONE, who gave me a script for changing the date to be updated 1 day ahead. But I need a script which updates it by 10 Hours. I was wondering if anyone has done this before and what people do for synthetics they want running in a specific timezone from the public locations?&lt;BR /&gt;&lt;BR /&gt;Can anyone help me update the below to have 10 hours instead of 1 day (24 hours)?&lt;BR /&gt;&lt;BR /&gt;Increment by a day script:&lt;/P&gt;
&lt;P&gt;var today = new Date();&lt;BR /&gt;today.setDate(today.getDate()+1);&lt;BR /&gt;dateformat= today.getFullYear() + "-" + ("0" + (today.getMonth() + 1)).slice(-2) + "-" + ("0" + today.getDate()).slice(-2) ;&lt;/P&gt;
&lt;P&gt;function addDays(date, numDays) {&lt;BR /&gt;return new Date(date.getFullYear(), date.getMonth(), date.getDate() + numDays);&lt;BR /&gt;&lt;BR /&gt;}&lt;BR /&gt;function date_format(date)&lt;BR /&gt;{&lt;BR /&gt;var month = date.getMonth() + 1;&lt;BR /&gt;var twoDigitMonth = (month &amp;lt; 10) ? ('0' + month) : month;&lt;BR /&gt;var twoDigitDate = (date.getDate() &amp;lt; 10) ? ('0' + date.getDate()) : date.getDate();&lt;BR /&gt;// return (twoDigitDate + '-' + twoDigitMonth + '-' + date.getFullYear());&lt;BR /&gt;return (date.getFullYear() + '-' + twoDigitMonth + '-' + twoDigitDate);&lt;BR /&gt;}&lt;BR /&gt;var todayDate = new Date();&lt;BR /&gt;var dateTomorrow = addDays(todayDate, 1);&lt;BR /&gt;&lt;BR /&gt;var dateformat = date_format(dateTomorrow);&lt;BR /&gt;api.info("dateformat: " + dateformat);&lt;BR /&gt;api.setValue("dateformat", dateformat);&lt;/P&gt;</description>
      <pubDate>Wed, 14 Jul 2021 10:10:23 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Synthetic-Monitoring/Public-Synthetic-Monitor-s-Timezones-AEST-Australia/m-p/169230#M874</guid>
      <dc:creator>ThomasEaton</dc:creator>
      <dc:date>2021-07-14T10:10:23Z</dc:date>
    </item>
    <item>
      <title>Re: Public Synthetic Monitor's Timezones (AEST / Australia)</title>
      <link>https://community.dynatrace.com/t5/Synthetic-Monitoring/Public-Synthetic-Monitor-s-Timezones-AEST-Australia/m-p/169234#M875</link>
      <description>&lt;P&gt;I now realise it is java script and being a an extra 14 hours ahead will work as it is in the future and not the past, where the past was the issue. I will implement Dynatrace's code (+1 day) and see how that goes.&lt;BR /&gt;&lt;BR /&gt;But i learned today that all Public Synthetic locations run in UTC and we have to edit the scripts with a java event, to add code to update the date or time.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Jul 2021 10:32:42 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Synthetic-Monitoring/Public-Synthetic-Monitor-s-Timezones-AEST-Australia/m-p/169234#M875</guid>
      <dc:creator>ThomasEaton</dc:creator>
      <dc:date>2021-07-14T10:32:42Z</dc:date>
    </item>
    <item>
      <title>Re: Public Synthetic Monitor's Timezones (AEST / Australia)</title>
      <link>https://community.dynatrace.com/t5/Synthetic-Monitoring/Public-Synthetic-Monitor-s-Timezones-AEST-Australia/m-p/169241#M877</link>
      <description>&lt;P&gt;hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/35030"&gt;@ThomasEaton&lt;/a&gt;, one of our developers will also take a look at the case you provided. Stay tuned &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Jul 2021 11:29:00 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Synthetic-Monitoring/Public-Synthetic-Monitor-s-Timezones-AEST-Australia/m-p/169241#M877</guid>
      <dc:creator>Karolina_Linda</dc:creator>
      <dc:date>2021-07-14T11:29:00Z</dc:date>
    </item>
    <item>
      <title>Re: Public Synthetic Monitor's Timezones (AEST / Australia)</title>
      <link>https://community.dynatrace.com/t5/Synthetic-Monitoring/Public-Synthetic-Monitor-s-Timezones-AEST-Australia/m-p/169286#M878</link>
      <description>&lt;P&gt;I added as a step 2, as you can not put it as step 1, that has to be a navigation type event. It didn't work &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Jul 2021 06:26:14 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Synthetic-Monitoring/Public-Synthetic-Monitor-s-Timezones-AEST-Australia/m-p/169286#M878</guid>
      <dc:creator>ThomasEaton</dc:creator>
      <dc:date>2021-07-15T06:26:14Z</dc:date>
    </item>
    <item>
      <title>Re: Public Synthetic Monitor's Timezones (AEST / Australia)</title>
      <link>https://community.dynatrace.com/t5/Synthetic-Monitoring/Public-Synthetic-Monitor-s-Timezones-AEST-Australia/m-p/170341#M895</link>
      <description>&lt;P&gt;In the end, we had a solution given by a product specialist:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ThomasEaton_0-1628158876904.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/1825i5BAF1044F1674D50/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ThomasEaton_0-1628158876904.png" alt="ThomasEaton_0-1628158876904.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;He added a DOM Element:&amp;nbsp;document.querySelectorAll('button[class*="current"]')[0].parentElement.nextElementSibling&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Aug 2021 10:21:57 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Synthetic-Monitoring/Public-Synthetic-Monitor-s-Timezones-AEST-Australia/m-p/170341#M895</guid>
      <dc:creator>ThomasEaton</dc:creator>
      <dc:date>2021-08-05T10:21:57Z</dc:date>
    </item>
    <item>
      <title>Re: Public Synthetic Monitor's Timezones (AEST / Australia)</title>
      <link>https://community.dynatrace.com/t5/Synthetic-Monitoring/Public-Synthetic-Monitor-s-Timezones-AEST-Australia/m-p/170343#M896</link>
      <description>&lt;P&gt;Also, Dynatrace confirmed, all public Synthetic locations are in UCT - would be good to add this to the documentation please.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Aug 2021 10:32:17 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Synthetic-Monitoring/Public-Synthetic-Monitor-s-Timezones-AEST-Australia/m-p/170343#M896</guid>
      <dc:creator>ThomasEaton</dc:creator>
      <dc:date>2021-08-05T10:32:17Z</dc:date>
    </item>
    <item>
      <title>Re: Public Synthetic Monitor's Timezones (AEST / Australia)</title>
      <link>https://community.dynatrace.com/t5/Synthetic-Monitoring/Public-Synthetic-Monitor-s-Timezones-AEST-Australia/m-p/170344#M897</link>
      <description>&lt;P&gt;HI no one ever contacted me &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt; - but we have resolved the issue.&lt;BR /&gt;&lt;BR /&gt;Can you please log a documentation update to show that Public locations run in UTC - I am sure it will help others. - as i bet most people assume the public location synthetic locations run in the locations time zone.. I.E AEST for Sydney? &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Aug 2021 10:33:40 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Synthetic-Monitoring/Public-Synthetic-Monitor-s-Timezones-AEST-Australia/m-p/170344#M897</guid>
      <dc:creator>ThomasEaton</dc:creator>
      <dc:date>2021-08-05T10:33:40Z</dc:date>
    </item>
  </channel>
</rss>

