Where to find documentation on how to set GMT in the date class | Community
Skip to main content
RasmusFriis
October 16, 2015
Solved

Where to find documentation on how to set GMT in the date class

  • October 16, 2015
  • 3 replies
  • 1636 views

Hello.....

Could somebody please help me finding some kind of documentation on this.

I use the Adobe analytics Developer Api source code in klipfolio, but somehow the date is

chancing on the wrong time, so I was wondering if I could set the date to use GMT+2, cant find any documentation....

Here is the code:
    "reportDescription":{
        "reportSuiteID":"**********",
        "date":"{date.today}",
        "dateFrom":"{date.today}",
        "dateTo":"{date.today}",
        "dateGranularity":"day",
        "metrics":[
            {
                "id":"orders"
            }
        ]
    },
    "currentdata":true
}

Please Help me, Rasmus

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Gigazelle

Hi Rasmus,

Everything we have on the reporting API can be found here: https://marketing.adobe.com/developer/documentation/analytics-reporting-1-4/get-started - I don't see anything wrong with the request, so you're good on that front.

Chances are the time zone for the report suite in question needs to be changed. You can do this inside the Analytics web interface, or use the Analytics Admin API. The relevant page you're looking for is here: https://marketing.adobe.com/developer/documentation/analytics-administration-1-4/r-savetimezone-1 

3 replies

TanmayMathur
Adobe Employee
Adobe Employee
October 16, 2015

Hi,

If you want timestamp hits, you can use the timestamp parameter, you will find that here - https://marketing.adobe.com/developer/documentation/data-insertion/r-supported-tags. You would have to use timestamp on every single image request else it will not show up. 

Also, you may want to ensure that the time zone for your report suite is correctly configured. You will find the details on this page - https://marketing.adobe.com/resources/help/en_US/reference/general_acct_settings_admin.html

TM

RasmusFriis
October 16, 2015

Thanks for your answer TanmayM,

I have already checked my report suite configuration, and it is in fact correctly set.

I cant use XML tags in Klipfolio, we request for a report by using the code I showed in my question, We request for the report every 15 minutes, but the first report from Adobe is received after 02:00AM, so somewhere the timezone is being wrong set.

Can you show me how to set the timezone by using the API.

Thanks in advance

Rasmus Friis

Gigazelle
Adobe Employee
GigazelleAdobe EmployeeAccepted solution
Adobe Employee
October 16, 2015

Hi Rasmus,

Everything we have on the reporting API can be found here: https://marketing.adobe.com/developer/documentation/analytics-reporting-1-4/get-started - I don't see anything wrong with the request, so you're good on that front.

Chances are the time zone for the report suite in question needs to be changed. You can do this inside the Analytics web interface, or use the Analytics Admin API. The relevant page you're looking for is here: https://marketing.adobe.com/developer/documentation/analytics-administration-1-4/r-savetimezone-1