Forum Discussion

jordanepotter's avatar
9 years ago

Help with API time

I am trying to get some daily metrics using the API using calls similar to this: Communiry/metrics/name/metric/history/daily?date_start=2016-05-01&date_end=2016-05-02.

 

Looking at the data it appears that the numbers returned are based on the start and end of a day in the pacific time zone. The default/ chosen community time for the user making the call are both central. Also, since LSI gives numbers back in UTC time, these are not uniform, and throw our numbers off a little. I tried changing the time zone for the user making the call, and it does not seem to change API time settings. Is there a way we could either change our time setting to Central, or to match LSI and do UTC?