Statistics Date one day ahead

S.H. 4 years ago

Hi.
I figured out that the date in the statistics are one day ahead. Which means i get the values from 13th dated at 14th.
What did i do wrong?

Thanks for your support
Cheers
Stefan

Anton Tananaev 4 years ago

How did you figure it out?

S.H. 4 years ago

Maybe I misunderstood.

Does the date represent the day the statistic is been pulled?

Anton Tananaev 4 years ago

Usually it's the last timestamp of the day, but if your server timezone is different from your browser timezone you might get different date.

S.H. 4 years ago

Thanks for the reply.

Server is at UTC.
Laptop at UTC+2.

So in the morning at 8 o‘clock it should show the data for the last day.

But it shows date of today with the data from yesterday.

Anton Tananaev 4 years ago

As I said, the timestamp is the last one of the day, so it irrelevant what time of the day you request the report.

S.H. 4 years ago

Ok.
Understood.

But why do i have statistics for today when today is not even over?

See picture

Anton Tananaev 4 years ago

Link doesn't open in the latest Firefox. Says "Unsupported browser".

S.H. 4 years ago

Changed the link.
Please try again.

Anton Tananaev 4 years ago

So let's say your device report every minute and the last message yesterday (Apr 13) was at 11.59pm UTC, then when you look at that timestamp in UTC+2, you will see Apr 14. Am I missing something?

S.H. 4 years ago

This means i need to have both devices (server and Laptop) in the same timezone to see the „correct“ statistic?

But why do i have a statistic for the Apr 14th when this day is not over, nor in UTC nor in UTC+2?